Learn R Programming

Gmisc (version 3.0.3)

figCapNoNext: Gets the next figure caption number

Description

The function relies on options("fig_caption_no") in order to keep track of the last number.

Usage

figCapNoNext(roman = getOption("fig_caption_no_roman", default = FALSE))

Arguments

roman

Whether or not to use roman numbers instead of Arabic. Can also be set through options(fig_caption_no_roman = TRUE)

See Also

Other figure caption functions: figCapNoLast(), figCapNo()

Examples

Run this code
org_opts <- options(fig_caption_no = 1)
figCapNoNext()
options(org_opts)

Run the code above in your browser using DataLab