ReadCaptionFile: Read Caption Text File.

Description Usage Arguments Value Examples

View source: R/captions.R

Description

Makes easier the task of writing captions (and then reading) captions from a separate file, rather than within '.Rmd'. The text file can contain all captions (e.g., figures; tables), so long as each caption is prefixed with '<caption_name><caption_number>: ' (e.g., "Table 1: ").

Usage

1

Arguments

file

Character. Name of file containing captions (along with relevant file path).

Value

Named character string, where names are caption heading (e.g., 'table1').

Examples

1
# comin soon.

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.