Skip to content
Prev 319677 / 398502 Next

help with PCA

Dear all,

If I do a PCA like this:

dat<-matrix(rnorm(30),ncol=3)
res<-prcomp(dat)

Now, imagine that I got new data that I want to project onto the
original PC axes. How do I do that?

Thanks!

John