Learn R Programming

Gmisc (version 3.0.3)

figCapNoLast: Gets the last figure caption number

Description

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

Usage

figCapNoLast(roman = getOption("fig_caption_no_roman", 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: figCapNoNext(), figCapNo()

Examples

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

Run the code above in your browser using DataLab