powered by
Computes correlations between variables and scores from a PLS regression.
get_cor(object)
A list with the following elements :
correlations between X variables and X scores
correlations between Y variables and X scores
correlations between X variables and Y scores
correlations between Y variables and Y scores
correlations between X variables and Y variables
correlations between X scores 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_red, plo_cor
get_red
plo_cor
library(pls) data(yarn) pls <- mvr(density ~ NIR, ncomp = 5, data = yarn, validation = "CV", method = "oscorespls") res <- get_cor(pls) str(res)
Run the code above in your browser using DataLab