On Fri, 25 Jul 2003 [EMAIL PROTECTED] wrote:

>
> >fitdistr(test,"lognormal")
> Error in fitdistr(test, "lognormal") : `start' must be a named list
>
> > fitdistr(test,"lognormal",start$meanlog=0,start$sdlog=1)
> Error: syntax error
>
> How I am supposed to type a value for start depending on the distribution
> on which I am fitting my set

Well, if start is supposed to be a named list I would try that:

fitdistr(test,"lognormal",start=list(meanlog=0, sdlog=1))

        -thomas

Thomas Lumley                   Assoc. Professor, Biostatistics
[EMAIL PROTECTED]       University of Washington, Seattle

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to