supp.fig.caption: Supplemental Figure Caption

View source: R/supp_fig_caption.R

supp.fig.captionR Documentation

Supplemental Figure Caption

Description

Create an auto-numbered, wrapped supplemental figure caption

Usage

supp.fig.caption(caption, s.numbers = FALSE, caption.width = 98)

Arguments

caption

A string containing the caption text.

s.numbers

If it is a supplmental figure, how to you want it formatted: "Supplemental Figure 1" (FALSE) or "Figure S1" (TRUE)? Defaults to FALSE.

caption.width

A positive integer giving the target column for wrapping lines in the output. Defaults to 98

See Also

figure.caption, wrap.caption

Examples

data(example_data)

plot(example.data$X, example.data$Y, sub = supp.fig.caption("This is a figure"))

kstagaman/autoNumCaptions documentation built on Sept. 13, 2022, 12:38 p.m.