computeMW: computeMW

Description Usage Arguments Value Author(s) See Also

View source: R/computeMW.R

Description

Computes masses and weights for epGPCA.

Usage

1
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

epGPCA



ExPosition documentation built on May 20, 2017, 4:13 a.m.
Search within the ExPosition package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.