Wrapper for plot.gadget.fit that saves all diagnostic graphs to a directory
gadget_plots.RdWrapper 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
devices inggsave, in which case files of the defined type are printed topath, or"html"which compiles all plots into one html file usingknitand themake_htmlfunction.- quiet
Logical indicating whether to print messages about the plotting process. Set to
FALSEto 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
dpiargument inggsave- ...
Additional arguments to plotting functions (only used for plot_annual at the moment)