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