[R] MASS fitdistr()

Bernardo Rangel Tura tura at centroin.com.br
Sat Nov 29 14:39:19 CET 2003

At 15:49 27-11-2003, you wrote:
>Dear R experts,
>I am trying to use the R MASS library fitdistr() to fit the following
>as follows,
>fitdistr(k21stsList, "normal")
>But, I get
>Error in fitdistr(k21stsList, "normal") : 'start' must be a named list


You don´t put the start list, something like this

fitdistr(k21stsList, "normal",list(mean = 0.5 sd = 0.1))

      mean          sd    
  0.74584591   0.17908744 
 (0.04108548) (0.02904255)

Bernardo Rangel Tura, MD, MSc
National Institute of Cardiology Laranjeiras
Rio de Janeiro Brazil

More information about the R-help mailing list