Wrapper for plot.gadget.fit that saves all diagnostic graphs to a directory
gadget_plots.Rd
Wrapper for plot.gadget.fit that saves all diagnostic graphs to a directory
Usage
gadget_plots(
fit,
path,
file_type = "png",
quiet = FALSE,
width = NULL,
height = NULL,
units = "cm",
res = 300,
...
)
Arguments
- fit
A gadget fit object. See
g3_fit
.- path
Directory path for saving figures.
- file_type
Character. Either one of the
device
s inggsave
, in which case files of the defined type are printed topath
, or"html"
which compiles all plots into one html file usingknit
and themake_html
function.- quiet
Logical indicating whether to print messages about the plotting process. Set to
FALSE
to suppress the messages.- width, height
Plot size given in
units
. IfNULL
, reasonable standard values are used.- units
Units for plot size. See
ggsave
- res
Plot resolution. See the
dpi
argument inggsave
- ...
Additional arguments to plotting functions (only used for plot_annual at the moment)