Skip to content
Back to formatted view

Raw Message

Message-ID: <CAMLNaBb406ZrR9tYV7J2thMMP7iqbjhEC7bDE01BEM3MdEaEFw@mail.gmail.com>
Date: 2013-03-16T15:49:58Z
From: john d
Subject: 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