reconst | R Documentation |
Reconstruct the data from the PCA, CA or MFA results.
reconst(res, ncp=NULL)
res |
an object of class PCA, CA or MFA |
ncp |
number of dimensions used to reconstitute the data (by default NULL and the number of dimensions calculated for the PCA, CA or MFA is used) |
Returns a data frame with the number of individuals and the number of variables used for the PCA, CA or MFA
Francois Husson francois.husson@institut-agro.fr, Julie JosseJulie.Josse@agrocampus-ouest.fr
PCA
,CA
, MFA
data(decathlon)
res.pca <- PCA(decathlon, quanti.sup = 11:12, quali.sup=13, graph=FALSE)
rec <- reconst(res.pca,ncp=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.