Learn R Programming

pander (version 0.5.0)

pandoc.date.return: Dates

Description

Pandoc's mardown date.

Usage

pandoc.date.return(x, inline = TRUE, simplified = FALSE)

Arguments

x
date or vector of dates
inline
if to render vector of dates as inline paragraph or not (as list)
simplified
if just add date formatting to vector of dates

Value

  • By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.

Examples

Run this code
pandoc.date(Sys.Date())
pandoc.date(Sys.Date() - 1:10)
pandoc.date(Sys.Date() - 1:10, inline = FALSE)

Run the code above in your browser using DataLab