save_figs: Save Figures

View source: R/utils-plot.R

save_figsR Documentation

Save Figures

Description

Save Figures

Usage

save_figs(
  name,
  fig,
  width = 6,
  height = 6,
  plot_dir = file.path(here::here(), "analysis/plots")
)

Arguments

name

Name of figure

fig

ggplot or similar figure object

width

Width of plot in inches. Default = 6

height

Height of plot in inches. Default = 6

plot_dir

Plotting directory. Defaults to "analysis/plots"


OJWatson/kenya_al_failure documentation built on July 21, 2022, 9:49 a.m.