save_ggplot: Save ggplot2 objetc

Description Usage Arguments

View source: R/finalize_ggplot.R

Description

A wrapper function for the ggplot2 ggsave with custom parameters.

Usage

1
save_ggplot(plot, width, height, save_filepath)

Arguments

plot

The plot object (ggplot2)

width

Width in pixels that you want to save your chart to

height

Height in pixels that you want to save your chart to

save_filepath

Exact filepath that you want the plot to be saved to


JOTAJornalismo/rJOTA documentation built on Oct. 2, 2020, 4:40 p.m.