sca: Performs standard Correspondence Analysis calculations
Description
sca
returns all the basic results from a CA of a matrix with rows >= cols,
in an object of class '>cabasicresults
Usage
sca(X, catype = "sca", mcatype = NULL, p = 2, needtrans = FALSE)
Arguments
X
A data matrix with rows >= cols
catype
Can be "sca" for simple CA or "mca" for multiple CA
mcatype
If catype="mca" then this can be "Burt", "Indicator"
or "doubled" depending on the analysis required.
This affects the number of meaningful singular values, as does p below
p
Number of variables, only needed if catype="mca"
needtrans
TRUE if rows < columns so need to transpose in the routine
Value
An object of class '>cabasicresults
Details
This is only intended for internal use by the cabootcrs
function.
Examples
Run this code# NOT RUN {
results <- sca(as.matrix(DreamData))
# }
Run the code above in your browser using DataLab