Re: [R] Help: lda predict

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 26 Aug 2005 - 21:23:56 EST

On Fri, 26 Aug 2005, Shengzhe Wu wrote:

> I use lda (package: MASS) to obtain a lda object, then want to employ
> this object to do the prediction for the new data like below:
>
> predict(object, newdata, dimen=1, method=c("plug-in", "predictive", "debiased"))

That is not how you call it: when a character vector is given like that those are alternatives. Do read the help page, as we ask.

> What is the exact difference among the three methods? What is the
> difference of prediction results when applying different method?

This is stated on the help page. If you are unfamiliar with the area, note that the posting guide points out that MASS is support software for a book and the explanations are in the book. The help page also has references: please do read them (before posting).

> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Aug 26 21:29:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:56 EST