Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CA

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

Examples

data (children, package = "FactoMineR")
CA (children, row.sup = 15:18, col.sup = 6:8)

fdm2id

Data Mining and R Programming for Beginners

v0.9.5
GPL-3
Authors
Alexandre Blansché [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.