lazy_ggsave: Save a ggplot object as a figure, with some defaults (PNG and...

Description Usage Arguments Value

View source: R/lazy_ggsave.R

Description

Save a ggplot object as a figure, with some defaults (PNG and PDF only)

Usage

1
lazy_ggsave(plot, filename, width = 14, height = 10)

Arguments

plot

A ggplot object

filename

Filename (with no extensions!)

width

Width of the figure (in cm)

height

Height of the figure (in cm)

Value

Does not return anything, just saves a file to disk


jcvdav/startR documentation built on Oct. 13, 2021, 2:40 a.m.