kstagaman/autoNumCaptions: Provides Functions That Add Appropriate Numbers to Figures and Tables

This package is meant to make it easy to auto-number figures and tables in a long script (such as an R-markdown Document) and incorporate them directly into figures and tables. Each time the package is loaded, it renumbers figures and tables as they are created in the script, so that reordering figures does not require renumbering by hand. This package tracks figure, table, supplemental figure, and supplemental table numbers separately. Furthermore, a long caption will run out of the plot in ggplot (because it doesn't wrap text). The caption-creating functions here will add line breaks to the caption text that wrap it. The maximum caption width (in columns) can be set by the user.

Getting started

Package details

AuthorKeaton Stagaman
MaintainerThe package maintainer <kstagaman@gmail.com>
LicenseGPL-3.0-only
Version0.3
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("kstagaman/autoNumCaptions")
kstagaman/autoNumCaptions documentation built on Sept. 13, 2022, 12:38 p.m.