getPcaVarVn {ropls} | R Documentation

## getPcaVarVn method for PCA models

### Description

Variance of the components (score vectors)

### Usage

    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

    data(sacurine)
    attach(sacurine)

    sacurine.pca <- opls(dataMatrix)

    getPcaVarVn(sacurine.pca)

    detach(sacurine)

[Package ropls version 1.22.0 Index]