Description Usage Arguments Value Examples
For a PCA, if given a vector, this function will return the features most heavily weighted for that eigenvector. N.B Experimental, not tested.
1 | return_features(pca_data, pca_vector, n = 2)
|
pca_data |
a prcomp object |
pca_vector |
A two element vector of a PCA i.e c(PC1, PC2) |
n |
How many features returned to describe each element of 'pca_vector' |
vector
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.