sca {cabootcrs}R Documentation

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

Details

This is only intended for internal use by the cabootcrs function.

Value

An object of class cabasicresults

See Also

cabootcrs-package, cabootcrs, cabasicresults

Examples

results <- sca(as.matrix(DreamData))


[Package cabootcrs version 2.1.0 Index]