ggsave2: Save a ggplot2::ggplot figure with caption and alt text

View source: R/ggsave2.R

ggsave2R Documentation

Save a ggplot2::ggplot figure with caption and alt text

Description

Save a ggplot2::ggplot figure and a csv file with additional information, where the figure and csv are saved with the same name just different extensions.

Usage

ggsave2(..., caption, alttext, label)

Arguments

...

Parameters passed to ggplot2::ggsave.

caption

A character string providing the caption.

alttext

A character string providing the alternative text.

label

A character string providing the LaTeX label.

Value

The label used for the figure.

Author(s)

Kelli F. Johnson


iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.