powered by
Evaluate the number of significant dimensions in the data.
dimRestrict(res, file = "", rand = NULL)
an object of class PCA, CA or MCA.
the file path where to write the function execution in Rmarkdown language. If not specified, the description is written in the console.
an optional vector of eigenvalues to compare the observation with. If NULL, use the result of the eigenRef function for comparison.
eigenRef
the number of significant dimensions.
eigenRef, inertiaDistrib
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") # }
Run the code above in your browser using DataLab