load_plot: Load plot

Description Usage Arguments Value

View source: R/load-plot.R

Description

Reads in ggplot object

Usage

1
load_plot(name = "plot", type = "figures", dataset = FALSE)

Arguments

name

character scalar of the name of the plot (without extension).

type

character scalar indicating the plot type i.e. figures (default) or analysis, data etc.

dataset

logical scalar indicating whether to return the data as opposed to the ggplot object

Value

the gggplot object or the plot data


poissonconsulting/poiscon documentation built on Feb. 18, 2021, 11:16 p.m.