View source: R/mars_plotting_functions.R
marsSavePlot | R Documentation |
Return the gpglot object, with the metrics added to the object as a tableGrob annotation
marsSavePlot(
in_plot = last_plot(),
plot_type,
filename,
resolution = "med",
...
)
in_plot |
ggplot object without annotative metrics table |
plot_type |
text, one of 'combined', 'level', or 'rain' to determine the dimensions to use |
filename |
text, file location to save the document refer to |
resolution |
text, one of 'low', 'med', or 'high'. Each consists of default options that can be overwritten with ggsave arguments. |
... |
overwrite assumed values of resolution. Accepts existing arguments to ggsave, see |
Output ggplot object adding metrics when necessary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.