saveForest: A function for convenient saveing of forest plot graphics

Description Usage Arguments

View source: R/saveForest.R

Description

This function saves forest plots as generated by Forest_Plot ussing ggsave.

Usage

1
2
3
4
5
6
7
saveForest(
  source_plot,
  filename,
  extension = ".PDF",
  cm_per_row = 1,
  width = 25
)

Arguments

source_plot

ggplot object.

filename

Output filename without extension.

extension

File extension, defining the file format.

cm_per_row

height of each row in cm.

width

witdth of graphics in cm; e.g in MS Word, 15.5 cm would be a standard portrait width, and 25 cm a standard landscape width


moritzlindner/metaplot documentation built on May 10, 2021, 9:38 p.m.