Description Usage Arguments Details Value Note Author(s) See Also Examples
Summarize results
1 2 3 4 5 6 |
x |
An object of class |
... |
Currently not used. |
select |
A |
rows |
A |
axes |
A |
The following summary results can be obtained:
Active rows/individuals.
Supplementary rows/individuals.
Active columns/variables.
Supplementary columns/variables.
Categorical supplementary variables.
Quantitative supplementary variables.
A data frame
.
This is a simplified rewrite of summary.PCA
and summary.CA
.
N. Frerebeau
PCA, CA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(FactoMineR)
# PCA
data(decathlon)
res_pca <- FactoMineR::PCA(decathlon, scale.unit = TRUE, quanti.sup = 11:12,
quali.sup = 13, graph = FALSE)
## Get results summary for the first 10 individuals along the first 3 factors
summarize(res_pca, "ind", rows = 1:10, axes = 1:3)
## Get results summary for variables
summarize(res_pca, "var")
## Get results summary for supplementary continuous variables
summarize(res_pca, "quanti")
## Get results summary for supplementary categories
summarize(res_pca, "quali")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.