cacoord: Extracting coordinates from ca and mjca objects.

Description Usage Arguments Details Value See Also

View source: R/cacoord.r

Description

Extracting standard and principal coordinates as well as various row and column scaling configurations for visual display from ca and mjca objects.

Usage

1
2
3
4
5
6
7
8
cacoord(obj, 
               type = c("standard", "principal", 
                        "symmetric", "rowprincipal", "colprincipal", "symbiplot", 
                        "rowgab", "colgab", "rowgreen", "colgreen"), 
               dim  = NA,
               rows = NA,
               cols = NA,
               ...)

Arguments

obj

A ca or mjca object returned by ca or mjca.

type

The type of coordinates to extract ("standard" or "principal"). The remaining options ("symmetric", ..., "colgreen") return the corresponding row/column coordinate configuration for the map scaling options described in plot.ca where the corresponding argument is map.

dim

The dimensions to return. If NA, all available dimensions are returned.

rows

Logical indicating whether to return the row coordinates (see below for details).

cols

Logical indicating whether to return the column coordinates (see below for details).

...

Further arguments (ignored).

Details

The function cacoord returns the standard or principal coordinates of a CA or MCA solution. Additionally, row and column scaling configurations for plotting methods can be computed (see plot.ca for details).
Note that by default row and column coordinates are computed (i.e. for (rows=NA&cols=NA)|(rows=TRUE&cols=TRUE)). Using rows=TRUE (and cols=NA or cols=FALSE) returns a matrix with the row coordinates, and for cols=TRUE (and cols=NA or cols=FALSE) a matrix with the column coordinates is returned.

Value

A list with the slots rows (row coordinates) and columns (column coordinates). When computing only row or only column coordinates, a matrix (with the corresponding row or column coordinates) is returned.

See Also

ca,mjca,plot.ca,plot.mjca


ca documentation built on Jan. 24, 2020, 9:06 a.m.

Related to cacoord in ca...