varExp_Gaussian: Compute the variation expalined raitios when Gaussian data is...

Description Usage Arguments Value Examples

Description

This function computes the variation expalined ratios for component model on quantitative data sets. Details can be found in the paper https://arxiv.org/abs/1902.06241.

Usage

1
varExp_Gaussian(X, mu, A, B, Q)

Arguments

X

a n*d quantitative data set

mu

a n*1 column offset term

A

a n*R score matrix

B

a d*R loading matrix

Q

a n*d weighting matrix of the same size of X

Value

This function returns a list contains the variaiton expalined ratios of the whole model (varExp_total) or of each component (varExp_PCs).

Examples

1
2
3
4
5
## Not run:  out <- varExp_Gaussian(X,mu,A,B,Q)
          out$varExp_total
          out$varExp_PCs

## End(Not run)

YipengUva/RpESCA documentation built on July 2, 2019, 6:41 p.m.