AUTO_VI$save_plot | R Documentation |
This is the default method of saving plot(s). It will use
save_plot()
to save the ggplot to a 420 (width) * 525 (height) PNG
file. If the trained images are generated differently, one can override
this method using bandicoot::register_method()
.
AUTO_VI$save_plot(p, path = NULL)
p |
ggplot. A plot or a list of plots. |
path |
Character. Character. Path(s) to save the image. |
The image path.
my_vi <- auto_vi(fitted_model = lm(speed ~ dist, data = cars))
p <- my_vi$plot_resid()
my_vi$save_plot(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.