[R] PCA model

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Apr 26 20:53:44 CEST 2005


It has a predict method, and ?predict points you to it.

predict() is the usual way to apply a model to new data: see `An 
Introduction to R' or any good book on S/R.

On Tue, 26 Apr 2005, Frédéric Ooms wrote:

> Another newbie question. Once I have generated a PCA model using the princomp command how can i use it to display a new dataset ?
> Thanks for your help
> 	[[alternative HTML version deleted]]
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

As in the comment about HTML mail!

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