md_table {simplermarkdown}R Documentation

Generate a markdown table from a data.frame

Description

Generate a markdown table from a data.frame

Usage

md_table(tab, caption, as_character = FALSE, ...)

Arguments

tab

a data frame

caption

text of the caption. When omitted no caption is added to the table.

as_character

return the table as a character vector. If FALSE the table will be written to the standard output.

...

unused.

Value

Then as_character = FALSE a character vector with the markdown containing the table is returned. Otherwise, nothing is returned; the markdown is then written to the console.


[Package simplermarkdown version 0.0.6 Index]