vipscores | R Documentation |
Calculates VIP (Variable Importance in Projection) scores for predictors for given number of components and response variable.
vipscores(obj, ncomp = obj$ncomp.selected)
obj |
a PLS model (object of class |
ncomp |
number of components to count |
May take some time in case of large number of predictors Returns results as a column-vector,
with all necessary attributes inherited (e.g. xaxis.values, excluded variables, etc.). If you
want to make a plot use for example: mdaplot(mda.t(v), type = "l")
, where v
is
a vector with computed VIP scores. Or just try plotVIPScores.pls
.
matrix nvar x ny
with VIP score values (columns correspond to responses).
[1] Il-Gyo Chong, Chi-Hyuck Jun. Chemometrics and Laboratory Systems, 78 (2005), pp. 103-112.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.