View source: R/supp_fig_caption.R
supp.fig.caption | R Documentation |
Create an auto-numbered, wrapped supplemental figure caption
supp.fig.caption(caption, s.numbers = FALSE, caption.width = 98)
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 |
figure.caption
, wrap.caption
data(example_data) plot(example.data$X, example.data$Y, sub = supp.fig.caption("This is a figure"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.