powered by
Computes R2 and redundancies between variables and scores from a PLS regression.
get_red(object)
A list with the following elements :
R2 and redundancies between X variables and X scores
R2 and redundancies between Y variables and X scores
R2 and redundancies between X variables and Y scores
R2 and redundancies between Y variables and Y scores
cumulative R2 and redundancies between X variables and X scores
cumulative R2 and redundancies between Y variables and X scores
cumulative R2 and redundancies between X variables and Y scores
cumulative R2 and redundancies between Y variables and Y scores
an object of class mvr from pls package.
mvr
pls
Nicolas Robette
Martens, H., Næs, T. (1989) Multivariate calibration. Chichester: Wiley.
Tenenhaus, M. (1998) La Regression PLS. Theorie et Pratique. Editions TECHNIP, Paris.
get_cor
library(pls) data(yarn) pls <- mvr(density ~ NIR, ncomp = 5, data = yarn, validation = "CV", method = "oscorespls") res <- get_red(pls) str(res)
Run the code above in your browser using DataLab