add_title: Add a titled section to a chronicle Rmarkdown report

Description Usage Arguments Value Examples

View source: R/text.R

Description

Add a titled section to a chronicle Rmarkdown report

Usage

1
add_title(report = "", title, title_level = 1)

Arguments

report

Character string containing all the R Markdown chunks previously added. Default is ”, an empty report.

title

The title to be added as a section.

title_level

Level of the section title (ie, number of # on Rmarkdown syntax.)

Value

The text of the Rmarkdown report plus an additional section by the given title.

Examples

1
2
3
html_report <- add_title(report = '',
                         title = 'Just the title here')
cat(html_report)

chronicle documentation built on June 25, 2021, 9:09 a.m.