plo_vip {morepls} | R Documentation |
Plot of VIPs
Description
Plots the Variable Importance in Projections (VIP) indexes of a PLS regression.
Usage
plo_vip(object, ncomp = NULL, sort = FALSE,
col = "steelblue4", repel = FALSE)
Arguments
object |
an object of class |
ncomp |
the number of components to use for computing VIPs |
sort |
logical. If |
col |
color of the bars |
repel |
logical. If |
Value
a ggplot2
object
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")
plo_vip(pls)
[Package morepls version 0.1 Index]