getDimRedCoords.pca | R Documentation |
Get dimension reduction coordinates (PCA)
getDimRedCoords.pca(X, components = c(1, 2), method = "prcomp", ...)
X |
A matrix on which the dimension reduction is to be performed |
components |
principal component to be returned |
method |
Method/package to be used for computing principal components. Currently |
... |
other arguments passed on to the PCA method |
a matrix containing two columns for the reduced dimensions and the same number of
rows as X
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.