get_cor {morepls} | R Documentation |
Correlations between variables and scores
Description
Computes correlations between variables and scores from a PLS regression.
Usage
get_cor(object)
Arguments
object |
an object of class |
Value
A list with the following elements :
Xt |
correlations between X variables and X scores |
Yt |
correlations between Y variables and X scores |
Xu |
correlations between X variables and Y scores |
Yu |
correlations between Y variables and Y scores |
XY |
correlations between X variables and Y variables |
tu |
correlations between X scores 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
Examples
library(pls)
data(yarn)
pls <- mvr(density ~ NIR,
ncomp = 5,
data = yarn,
validation = "CV",
method = "oscorespls")
res <- get_cor(pls)
str(res)
[Package morepls version 0.1 Index]