ggunit_save: Save a file quickly with ggunit

View source: R/save.R

ggunit_saveR Documentation

Save a file quickly with ggunit

Description

This function is called for its side-effects. It wraps ggplot2::ggsave() to allow you save without first running device_dimensions().

Usage

ggunit_save(..., default_text = 11, height, aspect_ratio)

Arguments

...

Passed to ggsave. Note that height and width are generated by this function.

default_text

default text size

height

Height of the graphic in lines

aspect_ratio

Aspect ratio in the form width/height


charlie-gallagher/ggunit documentation built on April 5, 2022, 4:29 a.m.