Learn R Programming

listdown (version 0.5.7)

ld_rmarkdown_header: Create an R Markdown Header

Description

Output an R Markdown header with specified parameters.

Usage

ld_rmarkdown_header(
  title,
  author = NULL,
  date = NULL,
  output = c("html_document", "pdf_document", "word_document")
)

Value

An S3 instance of class `listdown_header` containing the R Markdown header data.

Arguments

title

the title of the page.

author

the author of the page. The default is NULL - no author.

date

the date for the page. The default is NULL - no date.

output

the output format of the page. If NULL then no output format. The default is an html document.