vip: Variable Importance Plots

CRAN_Status_Badge Travis-CI Build Status AppVeyor Build Status Coverage Status CRAN RStudio mirror downloads Total Downloads lifecycle


vip is an R package for constructing variable importance plots (VIPs). VIPs are part of a larger framework referred to as interpretable machine learning (IML), which includes (but not limited to): partial dependence plots (PDPs) and individual conditional expectation (ICE) curves. While PDPs and ICE curves (available in the R package pdp) help visualize feature effects, VIPs help visualize feature impact (either locally or globally). An in-progress, but comprehensive, overview of IML can be found here:


# The easiest way to get vip is to install it from CRAN:

# Alternatively, you can install the development version from GitHub:
if (!requireNamespace("devtools")) {

For details and example usage, visit the vip package website.