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.
Package details |
|
---|---|
Author | Keaton Stagaman |
Maintainer | The package maintainer <kstagaman@gmail.com> |
License | GPL-3.0-only |
Version | 0.3 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.