makePNG: Write a .PNG file from a ggplot2 object.

Description Usage Details

Description

makePNG writes a ggplot2 object into a .PNG file.

Usage

1
makePNG(plt, filename, ht = 6, wt = 6, ppi = 300)

Details

@param plt ggplot2 object. @param filename Character string. File name and path (.png extension automatically added). @param ht Integer. Height of image in inches. @param wt Integer. Width of image in inches. @param ppi Integer. Pixels per inch resolution. @return Writes a file with the name and location speficied.


jwbannister/maricungaVeg documentation built on May 20, 2019, 6:22 a.m.