figuresave: Save package figure to PNG.

Description Usage Arguments

View source: R/figuresave.R

Description

This is a simple wrapper function for ggsave to make a 4:3 ratio image that seems to produce saved PNGs that look reasonable from figures generated in this package.

Usage

1
figuresave(filename, figobject, figheight = 15)

Arguments

filename

The desired PNG filename, with extension

figobject

The figure object (ggplot object) to be saved

figheight

The desired heigh in CM. The default is set at 15 cm, which seems to work fine without further specification


rickeycarter/mrmctools documentation built on May 6, 2019, 8:59 p.m.