sv2: Compute the squared singular values of a matrix.

View source: R/inferences4PLSC.R

sv2R Documentation

Compute the squared singular values of a matrix.

Description

sv2: computes the squared singular values (i.e., eigen-values) of a matrix.

Usage

sv2(X)

Arguments

X

a rectangular matrix (or dataframe)

Details

sv2 is wraper around eigen, it is used for permutation and boostsrap procedures.

Value

a vector of the squared singular values.

Author(s)

Hervé Abdi

Examples

## Not run: 
if(interactive()){
 squared.ev <- sv2(matrix(runif(15), nrow = 3))
 }

## End(Not run)

HerveAbdi/data4PCCAR documentation built on Sept. 11, 2022, 4:19 p.m.