save_plot_png: Save a ggplot2 object as a .png

Description Usage Arguments

View source: R/plotting.R

Description

Save ggplot2 object as a .png. If a folder called Plots exists in your current working directory then the plot will be saved to this location.

Usage

1
save_plot_png(plot, title, subfolder = NULL, pwidth = 790, pheight = 553)

Arguments

plot

the plot to save

title

name to give file

subfolder

a subdirectory of existing 'Plots' directory where current plot should be saved

pwidth

width of the plot in pixels

pheight

heigh of the plot in pixels


AndBooth/Rutils documentation built on May 28, 2019, 11:04 a.m.