Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

reconst

Reconstruction of the data from the PCA, CA or MFA results


Description

Reconstruct the data from the PCA, CA or MFA results.

Usage

reconst(res, ncp=NULL)

Arguments

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)

Value

Returns a data frame with the number of individuals and the number of variables used for the PCA, CA or MFA

Author(s)

See Also

Examples

data(decathlon)
res.pca <- PCA(decathlon, quanti.sup = 11:12, quali.sup=13, graph=FALSE)
rec <- reconst(res.pca,ncp=2)

FactoMineR

Multivariate Exploratory Data Analysis and Data Mining

v2.4
GPL (>= 2)
Authors
Francois Husson, Julie Josse, Sebastien Le, Jeremy Mazet
Initial release
2020-12-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.