my_ggsave: Say what this function does in one line

Description Usage Arguments Examples

View source: R/my_ggsave.R

Description

Say what this function does in greater detail if that helps.

Usage

1
2
my_ggsave(plot_object, file_name, caption = TRUE, color = "lightgray",
  face = "italic", size = 3, ...)

Arguments

plot_object

is a ggplot object

file_name

the name of the output file for your plot

caption

boolean indicating whether to include filename in caption

color

of file name that will appear in caption (default is "lightgray")

face

font face of caption with file name (default is "italic")

size

font size of caption with file name (default is 3)

...

additional arguments for ggsave such as height, width, units, etc.

Examples

1
my_ggsave(p, "myplot.png")

Kidapt/keda documentation built on Nov. 23, 2019, 3:35 a.m.