write.plot: Write the plot object to a file.

Description Usage Arguments Author(s)

View source: R/write.plot.R

Description

Write the plot object to a file with publication ready parameters. This is an internal function and is not exported to the user.

Usage

1
write.plot(filename = NULL, plot = NULL, size.units = 'in', width = 8, height = 8, resolution = 1600)

Arguments

filename

The filename to write the plot to

plot

The ggplot object to output

size.units

Plots size units (default: in)

width

Width of plot (default: 8)

height

Height of plot (default: 8)

resolution

Resolution of output image in dpi (default: 1600)

Author(s)

Author: Richard de Borja <richard.deborja@sickkids.ca> Maintainer: Richard de Borja <richard.deborja@sickkids.ca>


rdeborja/plotting.general documentation built on May 27, 2019, 3:05 a.m.