add_title {chronicle}R Documentation

Add a titled section to a chronicle Rmarkdown report

Description

Add a titled section to a chronicle Rmarkdown report

Usage

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

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

[Package chronicle version 0.3 Index]