[R] missing values for mda package

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 9 19:53:29 CEST 2004


Package mda covers many things, including bruto, mars, polyreg and mda
itself.  Which `the original algorithm' for which option did you have in
mind?  More concretely, what where you trying to do with the package?

Given that the package is the original authors' own code, it seems
unlikely that they `killed one of the advantages' of their methodology, so 
elucidation is sorely needed.

On 9 Apr 2004, zhu wang wrote:

> Thanks. I was able to use na.omit to remove NAs. But it seems to me this
> kills one of the advantages of the original algorithm for handling
> missing values.
> 
> On Tue, 2004-04-06 at 11:54, Uwe Ligges wrote:
> > zhu wang wrote:
> > > 
> > > Dear helpers,
> > > 
> > > I am trying to use the mda package downloaded from the R website, but
> > > the data set has missing values so I got an error message. Should I
> > > manually handle these missing values? I was trying to read the documents
> > > to specify any option related to missing values, but I did not find it.
> > > Please forgive me if I ignore something obvious.
> > 
> > If it is not documented (hence probably not available) and you don't
> > know how to tell the functions to handle missing values, try to do it
> > "yourself". ?NA suggests:
> > "See Also: [...] 'na.action', 'na.omit', 'na.fail' on how methods can be
> > tuned to deal with missing values."
> > 
> > Uwe Ligges
> > 
> > 
> > 
> > > Thanks,
> > > 
> > > Zhu Wang
> > > 
> > > Statistical Science Department
> > > Southern Methodist University
> > > Dallas, TX 75275-0332
> > > Phone: (214)768-2453
> > > Fax: (214)768-4035
> > > Email: zhuw at mail.smu.edu
> > > 
> > > ______________________________________________
> > > R-help at stat.math.ethz.ch mailing list
> > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list