[R] problem with fitdistr ?
ernesto at ipimar.pt
Wed Feb 18 10:36:30 CET 2004
On Tue, 2004-02-17 at 18:59, Prof Brian Ripley wrote:
> Which version of MASS (not that you gave me any credit)? This works in
> the current 7.1-14.
> On Tue, 17 Feb 2004, Ernesto Jardim wrote:
> > 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 ?
I'm using R-1.8.1 with MASS 7.1-13. Sorry for not mentioning MASS.
Information on Package 'MASS'
Description: The main library and the datasets
Title: Main Library of Venables and Ripley's MASS
Depends: R (>= 1.8.0), lattice, nlme (>= 3.1-40), survival
Author: S original by Venables & Ripley. R port by Brian Ripley
<ripley at stats.ox.ac.uk>, following earlier work by Kurt Hornik
and Albrecht Gebhardt.
Maintainer: Brian Ripley <ripley at stats.ox.ac.uk>
BundleDescription: Functions and datasets to support Venables and
Ripley, 'Modern Applied Statistics with S' (4th edition).
License: GPL (version 2 or later)
Packaged: Sat Dec 6 20:47:49 2003; ripley
Built: R 1.8.1; i686-pc-linux-gnu; 2004-01-08 15:37:40; unix
More information about the R-help