getPcaVarVn: getPcaVarVn method for PCA models

Description Usage Arguments Value Author(s) Examples

Description

Variance of the components (score vectors)

Usage

1
2
3
4
getPcaVarVn(object, ...)

## S4 method for signature 'opls'
getPcaVarVn(object)

Arguments

object

An S4 object of class opls, created by opls function.

...

Currently not used.

Value

Numeric vector with the same length as the number of components

Author(s)

Etienne Thevenot, etienne.thevenot@cea.fr

Examples

1
2
3
4
5
6
7
8
data(sacurine)
attach(sacurine)

sacurine.pca <- opls(dataMatrix)

getPcaVarVn(sacurine.pca)

detach(sacurine)

ropls documentation built on Nov. 8, 2020, 7:46 p.m.