Re: [R] PCA model

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 27 Apr 2005 - 04:53:44 EST

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@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 Wed Apr 27 04:57:46 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:26 EST