Correspondence analysis preprocessing

Share:

Description

Performs all steps required for CA processing (row profile approach).

Usage

1
caNorm(X, X_dimensions, colTotal, rowTotal, grandTotal, weights = NULL, masses = NULL)

Arguments

X

Data matrix

X_dimensions

The dimensions of X in a vector of length 2 (rows, columns). See dim

colTotal

Vector of column sums.

rowTotal

Vector of row sums.

grandTotal

Grand total of X

weights

Optional weights to include for the columns.

masses

Optional masses to include for the rows.

Value

rowCenter

The barycenter of X.

masses

Masses to be used for the GSVD.

weights

Weights to be used for the GSVD.

rowProfiles

The row profiles of X.

deviations

Deviations of row profiles from rowCenter.

Author(s)

Derek Beaton

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.