Skip to content
Back to formatted view

Raw Message

Message-ID: <2B09E7C6-88EB-4320-98BA-E84F74EBA7F3@comcast.net>
Date: 2013-03-16T18:32:48Z
From: David Winsemius
Subject: help with PCA
In-Reply-To: <CAMLNaBb406ZrR9tYV7J2thMMP7iqbjhEC7bDE01BEM3MdEaEFw@mail.gmail.com>

On Mar 16, 2013, at 8:49 AM, john d wrote:

> 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?

You can either read the help page or for worked examples do a search on markmail:

list:org.r-project.r-help prcomp project new data onto components


-- 
David Winsemius
Alameda, CA, USA