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


edixon1/spryngr documentation built on June 13, 2021, 10:43 a.m.