make_plot: Save a plot

Description Usage Arguments Details

Description

Save a plot

Usage

1
make_plot(p, filename, width = 800, height = 800, type = "png", ...)

Arguments

p

specification (lattice object, ggplot2 object, or expression of arbitrary R code)

filename

where to save the file

width

(in pixels)

height

(in pixels)

type

type of file ("png" or "pdf")

...

additional parameters passed to graphics device

Details

All GHAP repositories are automatically organized and stored in a directory structure under a base git path which is specified by this function. This function will set an R environment variable that will be present in all subsequent sessions such that you only need to specify the base path once.


HBGDki/ghap documentation built on May 6, 2019, 9:45 p.m.