writePlots: Function which saves one or more ggplot objects

Description Usage Arguments

View source: R/generateVisuals.R

Description

Function which saves one or more ggplot objects

Usage

1
writePlots(plots, path = NULL, names = NULL, width = NA, height = NA)

Arguments

plots

a ggplot object or list of ggplot objects

path

a string containing a location to save the plots. If left blank a location may be selected via a windows file explorer dialogue box

names

a vector of strings the same length as the list of plots. If left blank random names will be generated


KDVdecisions/spryngr documentation built on Dec. 18, 2021, 2:34 a.m.