figure_vip: Important variables figure.

Description Usage Arguments Details Note Author(s) See Also

View source: R/figure_vip.R

Description

figure_vip() was used to create a composite figure of the important variables for each model

Usage

1
2
figure_vip(number = 20, view.plot = TRUE, save.plot = FALSE,
  plot.name = "vip_plot")

Arguments

number

The number of important variables to plot from each model

view.plot

Logical indicating if the plot should be printed to the viewer

save.plot

Logical indicating if the plot should be saved to ./figs/.

plot.name

Name of plot.

Details

figure_vip() loads each model, determines the important variables using caret::varimp() and creates a composite figure.

Note

Although this function is exported, figure_vip() was not intended to be used outside of this package.

Author(s)

Benjamin R. Gordon

See Also

varImp ggplot


brgordon17/coralclass documentation built on June 15, 2020, 9:21 p.m.