Restrict a correspondence analysis object to some rows or columns, and get row and column contributions.
rowSubsetCa(obj, indices)
colSubsetCa(obj, indices)
rowCtr(obj, dim)
colCtr(obj, dim)
A correspondence analysis object as returned by link{ca}
.
An integer vector of indices of rows/columns to be kept.
An integer vector of dimensions to which point contributions should be computed.
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.