Looking to the PCA scores with GGobi

October 21, 2012

(This article was first published on NIR-Quimiometria, and kindly contributed to R-bloggers)

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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...


Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)