makePNG
writes a ggplot2 object into a .PNG file.
1 | makePNG(plt, filename, ht = 6, wt = 6, ppi = 300)
|
@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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.