[R] princomp question

Sirotkin, Alexander demiurg at ti.com
Sat Nov 23 17:16:00 CET 2002


Hello.

I know that I'm not welcome on that list but maybe someone will
still shed some light on a question I'm trying to solve through all
weekend.

I use princomp() to get a PCA components and then use these components
to build a classification model.

When I use new data with that model (data which I did not have when
I did the original PCA), I have to aplly a PCA first and then use PCA
components with my model.

The problem is - I would like (actually, I think I have) to use an 
eigenbasis
from the first PCA when I do a PCA on a new data.

So the question is - how can I use the eigenbasis (loadings ??) from 
princomp()
output as an argument to another princomp() when processig a new data.

Thanks in advance.

P.S. I know I managed to annoy quite a few people here - well, these 
people - plz.
ignore my posting.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list