msvd {mogsa} | R Documentation

## 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 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`

[Package mogsa version 1.24.0 Index]