simple_pca | R Documentation |
Calculate the PCA rotation matrix The implementation is based on stats::prcomp. Assumes the data has already been centered and scaled (if that is desired).
simple_pca(X, dimensions, tolerance = 1e-10)
X |
the matrix to reduce |
dimensions |
the number of dimensions after PCA |
tolerance |
remove components with variance less than the tolerance |
pca rotation matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.