[R] problem with fitdistr ?

Ernesto Jardim ernesto at ipimar.pt
Tue Feb 17 17:38:12 CET 2004


I'm trying fitdistr but I'm getting some errors

> fitdistr(rnorm(100),"Normal")
Error in fitdistr(rnorm(100), "Normal") : 'start' must be a named list
> fitdistr(rnorm(100),"Normal",start=list(mean=0,sd=1))
Error in fitdistr(rnorm(100), "Normal", start = list(mean = 0, sd = 1))
        supplying pars for the Normal is not supported

What is the problem here ? Am I doing something wrong ?



More information about the R-help mailing list