Save ggplot with output path
Arguments
- plt
A ggplot object.
- fpath
<chr>File path to save output and add to label.- lab
<chr>Custom label to use instead offpath.- omit
<chr>Text to omit from the label.- ...
Other arguments to pass to
ggplot2::ggsave().
Examples
if (FALSE) { # \dontrun{
fpath = "../output.png"
iris |> gghist() |> ggout(fpath)
} # }