preprocess: Preprocess

Description Usage Arguments Value References See Also Examples

View source: R/preprocess.R

Description

Performs the pre-processing of a data matrix such that it is ready to be used by vbmfa.

Usage

1
preprocess(Y, ppp, shrinkQ)

Arguments

Y

An n by p data matrix which is to be scaled.

ppp

An optional p by 2 matrix where the columns represent the sample mean and sample standard deviation of the pth dimension of Y.

shrinkQ

If 1, the data is shrunk according to ppp. If 0, the data is expanded to invert a prior shrinking by ppp.

Value

A list containing

References

\insertRef

ghahramani2000variationalautoMFA

See Also

vbmfa for fitting models after using preprocess.

Examples

1

autoMFA documentation built on Aug. 10, 2021, 5:07 p.m.