[R] How to use results of distribution fitting for further processing?
Peter Ehlers
ehlers at ucalgary.ca
Fri Nov 20 19:47:19 CET 2009
Raymond Wong wrote:
> This is probably simple, but I have a hard time finding the solution. Any help greatly appreciated.
>
> I would like to use the results of fitdistr(z,densfun=dweibull,start=list(scale=1,shape=1)) for further processing. How do I assign the values of scale and shape to b and a without manually entering the numbers?
fd <- fitdistr(z,densfun=dweibull,start=list(scale=1,shape=1))
str(fd)
fd$estimate
fd$estimate[1]
etc
Remember the ever useful str().
-Peter Ehlers
>
> TIA
>
>
> __________________________________________________________________
> Looking for the perfect gift? Give the gift of Flickr!
>
>
> [[alternative HTML version deleted]]
>
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list