ld_rmarkdown_header: Create an R Markdown Header

View source: R/headers.r

ld_rmarkdown_headerR Documentation

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")
)

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.

Value

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


listdown documentation built on April 3, 2023, 5:42 p.m.