dimRestrict | R Documentation |
Evaluate the number of significant dimensions in the data.
dimRestrict(res, file = "", rand = NULL)
res |
an object of class PCA, CA or MCA. |
file |
the file path where to write the function execution in Rmarkdown language. If not specified, the description is written in the console. |
rand |
an optional vector of eigenvalues to compare the observation with. If NULL, use the result of the |
ncp |
the number of significant dimensions. |
Simon Thuleau and Francois Husson
eigenRef
, inertiaDistrib
## Not run:
require(FactoMineR)
data(decathlon)
res.pca = PCA(decathlon, quanti.sup = c(11:12), quali.sup = c(13), graph = FALSE)
dimRestrict(res.pca, file = "PCA.Rmd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.