Extracting coordinates from ca and mjca objects.
Extracting standard and principal coordinates as well as various row and column scaling configurations for visual display from ca and mjca objects.
cacoord(obj, type = c("standard", "principal", "symmetric", "rowprincipal", "colprincipal", "symbiplot", "rowgab", "colgab", "rowgreen", "colgreen"), dim = NA, rows = NA, cols = NA, ...)
obj |
|
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 |
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). |
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.
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.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.