| ggout | R Documentation |
Save ggplot with output path
ggout(plt, fpath, lab = "", omit = "", ...)
plt |
A ggplot object. |
fpath |
|
lab |
|
omit |
|
... |
Other arguments to pass to |
The file path of the output.
ggplot2::ggsave()
## Not run:
fpath = "../output.png"
iris |> gghist() |> ggout(fpath)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.