corpca is an auxiliary function that performs principal components analysis on a dataset. It returns an object
which contains the loadings, the scores and the singular values of the
K first principal components.
It handles missing values in a dataset and actually computes the eigen elements of the
n x n
covariance matrix, where
n is the number of individuals.
a data matrix or a data frame.
an integer specifying the number of principal components that are retained.
x <- NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.