Hi,

I was usuing the fExtemes package, and wanted to obtain some of the values 
returned from the function gumbelFit(). For example, in the following code, I 
would like to access 'mu' and 'beta' from the object 'para'. How should I go 
about doing this? Is there any generic method to access the object?
-----------------------------------
 >library("fExtremes") 
 >ss <- gumbelSim(model = list(mu = 0, beta = 1), n = 1000, seed = NULL)
> para <- gumbelFit(ss)
> print(para)

Title:
 Gumbel Parameter Estimation 

Call:
 gumbelFit(x = ss)

Estimation Type:
  gum mle 

Estimated Parameters:
         mu        beta 
0.005449572 1.010874131 

Description
  Thu Jan 07 13:14:28 2010 

> class(para)
[1] "fGEVFIT"
attr(,"package")
[1] "fExtremes"
>
-----------------------------------
thanks!


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to