powered by
Evaluates the given pca components as a function.
pca_components(pca, components = 1:length(pca$sdev))
A dfts object of the pca component(s)
PCA object from pca()
pca()
Numeric for the components of interest. Can be a single numeric to examine that component or multiple to examine the combined result
tmp <- pca(electricity, TVE = 0.1) pca_components(tmp, components = 1)
Run the code above in your browser using DataLab