save_plot: Save a plot

Description Usage Arguments

View source: R/do_plot_shap.R

Description

Save params

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
save_plot(
  object,
  path = NULL,
  dir = .get_dir_data(),
  file = deparse(substitute(object)),
  ext = "png",
  height = 8,
  width = height,
  ...
)

Arguments

height, width

Height and width to use for saved image, in inches.


tonyelhabr/xgbh documentation built on Dec. 23, 2021, 11:59 a.m.