Once you have conduct PCA using prcomp, how do you extract the chosen principle component(s) to use in your original data?
The prcomp() function returns a list which has an element called rotation which is a matrix whose columns are the variable loadings. Here is a helpful R-bloggers post
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.