Computation of correspondence analysis on a table of nonnegative data.
CA(data, nd = 2, suprow = NA, supcol = NA)
Singular values
Number of dimensions in solution results
Row names
Row weights
Row logratio distances to centroid
Row inertias
Row standard coordinates
Row principal coordinates
Indices of row supplementary points
Column names
Column weights
Column logratio distances to centroid
Column inertias
Column standard coordinates
Column principal coordinates
The compositional data table
A data frame or matrix of nonnegative data (no negative values)
Number of dimensions for summary solution if not 2 (default)
Indices of rows that are supplementary points
Indices of columns that are supplementary points
Michael Greenacre
The function CA
is a simple wrapper for the ca
function in the ca package (Nenadic and Greenacre, 2007), for compatibility within the easyCODA package.
Supplementary rows and columns can be declared (also known as passive points) -- these do not contribute to the solution but are positioned on the solution axes.
The function borrows the structure and functions of the ca
package, which is required, and produces a ca
object, and the same print
, summary
and plot
methods can be used, as for a ca
object.
It additionally exports the principal coordinates of both the rows and columns, not presently found in the ca
package.
Nenadic, O. and Greenacre, M. (2007). Correspondence analysis in R, with two- and three-dimensional graphics: The ca package. Journal of Statistical Software, 20 (3), https://www.jstatsoft.org/v20/i03/
PLOT.CA
, plot.ca
, summary.ca
, print.ca
# CA of the Roman cups data (symmetric map)
data("cups")
PLOT.CA(CA(cups))
Run the code above in your browser using DataLab