[R] MASS fitdistr()

Oscar Linares olinares at med.umich.edu
Thu Nov 27 18:49:15 CET 2003


Dear R experts,

I am trying to use the R MASS library fitdistr() to fit the following
list:

k21stsList<-c(0.76697,0.57642,0.75938,0.82616,0.93706,0.77377,0.58923,0.37157,0.60796,1.00070,0.97529,0.62858,0.63504,0.68697,0.61714,0.75227,1.16390,0.66702,0.83578)

as follows,

library(MASS)
fitdistr(k21stsList, "normal")

But, I get

Error in fitdistr(k21stsList, "normal") : 'start' must be a named list

What am I doing wrong (probably alot!)

Thanks,

Oscar




More information about the R-help mailing list