Whilst trying to follow the PCA tutorial from the following page
http://nir-quimiometria.blogspot.de/2012/02/pca-for-nir-spectrapart-001-plotting.html I couldn't find the "yarn" dataset, and couldn't find any information about where it was from, whether it was bundled with the R source etc. Trying to evaluate yarn simply gave the following:
Error: object 'yarn' not found
After some searching I stumbled across
the documentation for the pls library. It turns out the data is bundled with the pls library. Running the following allowed me to use the dataset:
install.packages("pls")
library("pls")
Now on with the rest of the tutorial!
No comments:
Post a Comment