Learn R Programming

mogsa (version 1.6.4)

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

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

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 scorespb - the block loadingst - the global scoresw - the wegihts of block scores to construct the global scor

See Also

nipalsSoftK