Site icon R-bloggers

Looking to the PCA scores with GGobi

[This article was first published on NIR-Quimiometria, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
In this post I continue with the unsupervised exploration of oil spectra, which we have seen in previous post ( PCA with “ChemoSpec” – 001).
In the manual “ChemoSpec:An R Package for Chemometric Analysis of Spectroscopic Data“, (page 23) there is a brief description about how to get very nice  plots to look to our data  in the Principal Component Space using the GGobi software, and the rggobi package.
With the function
> plotScoresG(oils,class)
GGobi opens and let me see the plots in diferent ways. I can see the different PC scores planes, rotate them,…., and to get a better knowledge of the clusters.
*olive samples are yellow and the sunflower oil samples are red.

To leave a comment for the author, please follow the link and comment on their blog: NIR-Quimiometria.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.