my_ggsave: saves ggplot plots with attractive defaults

Description Usage Arguments Examples

View source: R/my_ggsave.R

Description

saves ggplot plots with attractive defaults

Usage

1
2
3
4
5
6
7
8
my_ggsave(
  plot_object,
  file_name,
  color = "lightgray",
  face = "italic",
  size = 3,
  ...
)

Arguments

plot_object

is a ggplot object

file_name

is the name you want your plot image saved as

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")

joepowers16/breadcrumbs documentation built on Dec. 25, 2019, 4:13 p.m.