Description Usage Arguments Value Author(s) References See Also Examples
Various filter methods extracting and using information from
mvr
objects to assign importance to all included variables. Available
methods are Significance Multivariate Correlation (sMC), Selectivity Ratio (SR),
Variable Importance in Projections (VIP), Loading Weights (LW), Regression Coefficients (RC).
1 2 3 4 5 6 7 8 9 
pls.object 

opt.comp 
optimal number of components of PLS model. 
p 
number of variables in PLS model. 
X 
data matrix used as predictors in PLS modelling. 
alpha_mc 
quantile significance for automatic selection of variables in 
A vector having the same lenght as the number of variables in the associated PLS model. High values are associated with high importance, explained variance or relevance to the model.
Tahir Mehmood, Kristian Hovde Liland, Solve Sæbø.
T. Mehmood, K.H. Liland, L. Snipen, S. Sæbø, A review of variable selection methods in Partial Least Squares Regression, Chemometrics and Intelligent Laboratory Systems 118 (2012) 6269.
VIP
(SR/sMC/LW/RC), filterPLSR
, shaving
,
stpls
, truncation
,
bve_pls
, ga_pls
, ipw_pls
, mcuve_pls
,
rep_pls
, spa_pls
,
lda_from_pls
, lda_from_pls_cv
, setDA
.
1 2 3 4 5 6 7 8 9 10 11  data(gasoline, package = "pls")
library(pls)
pls < plsr(octane ~ NIR, ncomp = 10, validation = "LOO", data = gasoline)
comp < which.min(pls$validation$PRESS)
X < gasoline$NIR
vip < VIP(pls, comp)
sr < SR (pls, comp, X)
smc < sMC(pls, comp, X)
lw < LW (pls, comp)
rc < RC (pls, comp)
matplot(scale(cbind(vip, sr, smc, lw, rc)), type = 'l')

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.