vip computes the influence on the Y-responses
of every predictor X in the model.
object of class inheriting from
Variable importance in projection (VIP) coefficients reflect the relative importance of each X variable for each X variate in the prediction model. VIP coefficients thus represent the importance of each X variable in fitting both the X- and Y-variates, since the Y-variates are predicted from the X-variates.
VIP allows to classify the X-variables according to their explanatory power of Y. Predictors with large VIP, larger than 1, are the most relevant for explaining Y.
vip produces a matrix of VIP coefficients for each X variable (rows) on each
variate component (columns).
Sébastien Déjean and Ignacio Gonz\'alez.
Tenenhaus, M. (1998). La regression PLS: theorie et pratique. Paris: Editions Technic.
1 2 3 4 5 6 7 8 9 10 11
data(linnerud) X <- linnerud$exercise Y <- linnerud$physiological linn.pls <- pls(X, Y) linn.vip <- vip(linn.pls) barplot(linn.vip, beside = TRUE, col = c("lightblue", "mistyrose", "lightcyan"), ylim = c(0, 1.7), legend = rownames(linn.vip), main = "Variable Importance in the Projection", font.main = 4)
Loading required package: MASS Loading required package: lattice Loading required package: ggplot2 Loaded mixOmics 6.1.3 Visit http://www.mixOmics.org for more details about our methods. Any bug reports or comments? Notify us at mixomics at math.univ-toulouse.fr or https://bitbucket.org/klecao/package-mixomics/issues Thank you for using mixOmics! Warning messages: 1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display 2: 'rgl_init' failed, running with rgl.useNULL = TRUE 3: .onUnload failed in unloadNamespace() for 'rgl', details: call: fun(...) error: object 'rgl_quit' not found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.