caNorm function

Correspondence analysis preprocessing

Correspondence analysis preprocessing

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

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.

Returns

  • 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

  • Maintainer: Derek Beaton
  • License: GPL-2
  • Last published: 2019-01-07

Useful links