CA-class: CA Results

Description Author(s) See Also Examples

Description

An S4 class to store the results of a simple correspondence analysis.

Author(s)

N. Frerebeau

See Also

Other class: MultivariateAnalysis, MultivariateBootstrap, MultivariateResults, MultivariateSummary, PCA-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Load data
data("zuni", package = "folio")

## The chi square of independence between the two variables
stats::chisq.test(zuni)

## Compute correspondence analysis
X <- ca(zuni)

## Get row coordinates
get_coordinates(X, margin = 1)

## Get column coordinates
get_coordinates(X, margin = 2)

## Get row distances to centroid
get_distances(X, margin = 1)

## Get row inertias
get_inertia(X, margin = 1)

## Get row contributions
get_contributions(X, margin = 1)

## Get eigenvalues
get_eigenvalues(X)

dimensio documentation built on Sept. 18, 2021, 5:06 p.m.