CA {fdm2id} | R Documentation |
Correspondence Analysis (CA)
Description
Performs Correspondence Analysis (CA) including supplementary row and/or column points.
Usage
CA(
d,
ncp = 5,
row.sup = NULL,
col.sup = NULL,
quanti.sup = NULL,
quali.sup = NULL,
row.w = NULL
)
Arguments
d |
A ddata frame or a table with n rows and p columns, i.e. a contingency table. |
ncp |
The number of dimensions kept in the results (by default 5). |
row.sup |
A vector indicating the indexes of the supplementary rows. |
col.sup |
A vector indicating the indexes of the supplementary columns. |
quanti.sup |
A vector indicating the indexes of the supplementary continuous variables. |
quali.sup |
A vector indicating the indexes of the categorical supplementary variables. |
row.w |
An optional row weights (by default, a vector of 1 for uniform row weights); the weights are given only for the active individuals. |
Value
The CA on the dataset.
See Also
CA
, MCA
, PCA
, plot.factorial
, factorial-class
Examples
data (children, package = "FactoMineR")
CA (children, row.sup = 15:18, col.sup = 6:8)
[Package fdm2id version 0.9.9 Index]