MG_save: Save plots in the MG report style

View source: R/wafR_functions.R

MG_saveR Documentation

Save plots in the MG report style

Description

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.

Usage

MG_save(plt, height, fileName)

Arguments

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


jonathandash/wafR documentation built on March 27, 2022, 11:47 a.m.