Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

computeMW

computeMW


Description

Computes masses and weights for epGPCA.

Usage

computeMW(DATA, masses = NULL, weights = NULL)

Arguments

DATA

original data; will be used to compute masses and weights if none are provided.

masses

a vector or (diagonal) matrix of masses for the row items. If NULL (default), masses are computed as 1/# of rows

weights

a vector or (diagonal) matrix of weights for the column items. If NULL (default), weights are computed as 1/# of columns

Value

Returns a list with the following items:

M

a diagonal matrix of masses (if too large, a vector is returned).

W

a diagonal matrix of weights (if too large, a vector is returned).

Author(s)

Derek Beaton

See Also


ExPosition

Exploratory Analysis with the Singular Value Decomposition

v2.8.23
GPL-2
Authors
Derek Beaton, Cherise R. Chin Fatt, Herve Abdi
Initial release
2018-12-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.