get_red {morepls}R Documentation

R2 and redundancies

Description

Computes R2 and redundancies between variables and scores from a PLS regression.

Usage

get_red(object)

Arguments

object

an object of class mvr from pls package.

Value

A list with the following elements :

Xt

R2 and redundancies between X variables and X scores

Yt

R2 and redundancies between Y variables and X scores

Xu

R2 and redundancies between X variables and Y scores

Yu

R2 and redundancies between Y variables and Y scores

Xtcum

cumulative R2 and redundancies between X variables and X scores

Ytcum

cumulative R2 and redundancies between Y variables and X scores

Xucum

cumulative R2 and redundancies between X variables and Y scores

Yucum

cumulative R2 and redundancies between Y variables and Y scores

Author(s)

Nicolas Robette

References

Martens, H., Næs, T. (1989) Multivariate calibration. Chichester: Wiley.

Tenenhaus, M. (1998) La Regression PLS. Theorie et Pratique. Editions TECHNIP, Paris.

See Also

get_cor

Examples

library(pls)
data(yarn)
pls <- mvr(density ~ NIR,
           ncomp = 5,
           data = yarn,
           validation = "CV",
           method = "oscorespls")
res <- get_red(pls)
str(res)

[Package morepls version 0.1 Index]