save_plot: Save a ggplot object in multiple output formats

Description Usage Arguments Author(s)

View source: R/loading_and_writing.R

Description

Save a ggplot object in multiple output formats

Usage

1
save_plot(myplot, fname, w = 8, h = 8, dpi = 400)

Arguments

myplot

A ggplot object

fname

An output filename

w

The width of the plot in inches (default: 8)

h

The height of the plot in inches (default: 8)

dpi

The dpi (default: 400)

Author(s)

Martin Jung


Martin-Jung/naturepackage documentation built on Nov. 22, 2019, 12:04 a.m.