Learn R Programming

RcmdrPlugin.temis (version 0.7.10)

caTools: Correspondence analysis helper functions

Description

Restrict a correspondence analysis object to some rows or columns, and get row and column contributions.

Usage

rowSubsetCa(obj, indices)
colSubsetCa(obj, indices)
rowCtr(obj, dim)
colCtr(obj, dim)

Arguments

obj

A correspondence analysis object as returned by link{ca}.

indices

An integer vector of indices of rows/columns to be kept.

dim

An integer vector of dimensions to which point contributions should be computed.

Details

These functions are used to extend the features of the ca package.

rowSubsetCa and colSubsetCa take a link{ca} object and return it, keeping only the rows/columns that were specified. These objects are only meant for direct plotting, as they do not contain the full CA results: using them for detailed analysis would be misleading.

rowCtr and colCtr return the absolute contributions of all rows/columns to the specified axes of the CA. If several dimensions are passed, the result is the sum of the contributions to each axis.

See Also

showCorpusCaDlg, plotCorpusCa, plot.ca, ca