Computes masses and weights for epGPCA
.
computeMW(DATA, masses = NULL, weights = NULL)
Returns a list with the following items:
a diagonal matrix of masses (if too large, a vector is returned).
a diagonal matrix of weights (if too large, a vector is returned).
original data; will be used to compute masses and weights if none are provided.
a vector or (diagonal) matrix of masses for the row items. If NULL (default), masses are computed as 1/# of rows
a vector or (diagonal) matrix of weights for the column items. If NULL (default), weights are computed as 1/# of columns
Derek Beaton
epGPCA