sca: Performs standard Correspondence Analysis calculations

View source: R/sca.R

scaR 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))


cabootcrs documentation built on March 18, 2022, 7:50 p.m.