Usage
PCA(X, scale.unit = TRUE, ncp = 5, ind.sup = NULL,
quanti.sup = NULL, quali.sup = NULL, row.w = NULL,
col.w = NULL, graph = TRUE)Arguments
X
a data frame with n rows (individuals) and p columns (numeric variables)
ncp
number of dimensions kept in the results (by default 5)
scale.unit
a boolean, if TRUE (value set by default) then data are scaled to unit variance
ind.sup
a vector indicating the indexes of the supplementary individuals
quanti.sup
a vector indicating the indexes of the quantitative supplementary variables
quali.sup
a vector indicating the indexes of the qualitative supplementary variables
row.w
an optional row weights (by default, uniform row weights)
col.w
an optional column weights (by default, uniform column weights)
graph
boolean, if TRUE a graph is displayed