[R] nipals in the chemometrics package in R
hanson at depauw.edu
Thu Dec 1 14:59:00 CET 2011
If you want a typical score plot, say PC1 vs PC2, then plot the first and second columns of your score matrix (T) against each other and label the points with the row names (if available) or create a text label from where ever you have this information stored. To get an unlabeled score plot, you could simply do:
If you are using the package chemometrics, you should take a look at the book that goes with it too: Varmuza and Filzmoser, "Multivariate Statistical Analysis in Chemometrics".
If you need more guidance than this, you should probably give us more details about what you are doing.
Prof. Bryan Hanson
Dept of Chemistry & Biochemistry
Greencastle IN 46135 USA
On Dec 1, 2011, at 6:51 AM, zz dd wrote:
> i need some precision about nipals in the chemometrics package in R .
> When i use nipals in chemometrics i obtain T and P matrix.
> I really don't understand what to do with these two matrix to obtain
> the scores for every the component (like in spss fo example)
> Comp1 Comp2 Comp3
> quest1 0,8434 0,54333 0,3466
> quest2 0,665 0,7655 0,433
> Thank you very much for your help
> (I know that X=TP+E)... But don't understand else....
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help