[R] lda predict

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Sep 22 07:46:13 CEST 2004


On Tue, 21 Sep 2004, rob foxall (IFR) wrote:

> Dear R-helpers,
> 
>             I have a model created by lda, and I would like to use this
> model to make predictions for new or old data. The catch is, I want to
> do this without using the "predict" function, i.e. only using
> information directly from the foo.lda object to create my posterior
> probabilities. 

Well, that's what predict.lda does, so please read its code.

> In anticipation of likely responses, I will be brushing
> up my lda knowledge using the given references when I have time, but am
> being hassled for an answer asap!


-- 
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