Learn R Programming

morepls

Interpretation tools for PLS regression

morepls provides functions for the interpretation of PLS regressions.

Graphical functions :

  • two-dimensional plot of observations
  • two-dimensional plot of correlations between variables and components
  • two-dimensional plot of variables (Y loadings and X projections)
  • bar plot of regression coefficients
  • bar plot of X variables weights
  • bar plot of X variables VIPs

Statistical indicators :

  • correlations between variables and components
  • R2 and redundancies between variables and components
  • Q2 and cumulative Q2 indexes
  • raw and standardized coefficients

Installation

Execute the following code within R:

if (!require(devtools)){
    install.packages('devtools')
    library(devtools)
}
install_github("nicolas-robette/morepls")

References

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

Tenenhaus, M. (1998) La Regression PLS. Théorie et Pratique. Editions TECHNIP, Paris.

Copy Link

Version

Install

install.packages('morepls')

Monthly Downloads

531

Version

0.1

License

GPL (>= 2)

Maintainer

Nicolas Robette

Last Published

March 9th, 2024

Functions in morepls (0.1)

plo_ctr

Plot of weights
get_Q2

Q2 and cumulative Q2 indexes
plo_vip

Plot of VIPs
get_red

R2 and redundancies
plo_obs

Plot of scores
get_coef

Standardized and raw coefficients
plo_var

Plot of loadings
plo_cor

Plot of correlations
get_cor

Correlations between variables and scores
plo_coef

Plot of coefficients