View source: R/wafR_functions.R
MG_save | R Documentation |
Convenience function for saving plots in the style needed for the Margules Groome report output. PNG files produced are suitable for copying directly into Word docs.
MG_save(plt, height, fileName)
plt |
ggplot object to be saved |
height |
Height in cm of the figure in the document. A single panel is often 10 cm but greater heights are suggested for multiple panel plots. |
fileName |
File name for the output. Should end with .png |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.