reproducible code - are you assigning the results to an object
On Thu, Oct 23, 2008 at 10:34 AM, Gianni Messeri
<messeri at lamma.rete.toscana.it> wrote:> Hi,
> I'm trying to perform a Principal Component Analysis on meteorological
data
> with 10 predictors.
> I use the library pcaMethods to obtain a lot of information (loadings,
> scores, mean, standard deviation, etc).
> How can I obtain the scores (new PC variables) for new values of weather
> predictors using the results of PCA analysis (loadings, mean value,
> standard deviation) and without performing everytime the PCA analysis
> through my R-script on an updated set of data?
> I used the loading on my variables (predictors minus mean value), but only
> the PC1 was correct.
>
>
> Thanks
>
> Gianni
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis