msvd: SVD based algorithm to calculate block Score and global...

Description Usage Arguments Value Author(s) See Also

View source: R/msvd.R

Description

An internal function called by mbpca. It returns the result comparable with nipalsSoftK, but way faster since it uses the SVD algorithm. No sparse opertors in this function.

Usage

1
msvd(x, svd.sol = svd)

Arguments

x

The input matrix, rows are observations, columns are variables

svd.sol

A function object to specify the preferred SVD solver, default is svd.

Value

an list object contains the following elements:

tb - the block scores

pb - the block loadings

t - the global scores

w - the wegihts of block scores to construct the global scor

Author(s)

Chen Meng

See Also

nipalsSoftK


mogsa documentation built on Nov. 8, 2020, 5:41 p.m.