inertiaDistrib {FactoInvestigate} | R Documentation |
Inertia distribution analysis
Description
Analysis of the inertia distribution among each axis, the amount and the significativity
Usage
inertiaDistrib(res, file = "", ncp = NULL, q = 0.95, time = "10000L",
parallel = TRUE, figure.title = "Figure", graph = TRUE, options = NULL)
Arguments
res |
an object of class PCA, CA or MCA. |
file |
the file path where to write the description in Rmarkdown language. If not specified, the description is written in the console. |
ncp |
an integer to force the number of dimension to analyse. |
q |
the quantile of computed values to use as reference value (ie. the confidence about the signification of dimensions). |
time |
a character indicating the loop condition. This string is made of a number and a letter coupled. The number X with letter |
parallel |
a boolean : if |
figure.title |
the text label to add before graph title. |
graph |
a boolean : if |
options |
a character string that gives the output options fir the figures.
If NULL, |
Value
ncp |
the number of significant dimensions (or the dimensions kept). |
Author(s)
Simon Thuleau and Francois Husson
See Also
Examples
## Not run:
data(decathlon)
res.pca = PCA(decathlon, quanti.sup = c(11:12), quali.sup = c(13), graph = FALSE)
inertiaDistrib(res.pca, q = 0.95, time = "10s")
data(children)
res.ca = CA(children, row.sup = 15:18, col.sup = 6:8, graph = FALSE)
inertiaDistrib(res.ca, q = 0.99, time = "10000L")
data(tea)
res.mca = MCA(tea, quanti.sup = 19,quali.sup = 20:36, graph = FALSE)
inertiaDistrib(res.mca, dim = 1:8, q = 0.90, time = "10s")
## End(Not run)