powered by
Add a titled section to a chronicle Rmarkdown report
add_title(report, title, title_level = 1)
character containing the text of an Rmarkdown report header (and possibly more chunks). Easily create one with chronicle::new_report()
The title to be added as a section.
Level of the section title (ie, number of # on Rmarkdown syntax.)
The text of the Rmarkdown report plus an additional section by the given title.
# NOT RUN { html_report <- add_title(report = new_report(), title = 'Just the title here') cat(html_report) # }
Run the code above in your browser using DataLab