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

View source: R/lazy_ggsave.R

lazy_ggsaveR Documentation

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

Description

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

Usage

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 May 2, 2024, 8:30 p.m.