md_table | R Documentation |
Generate a markdown table from a data.frame
md_table(tab, caption, as_character = FALSE, ...)
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 |
... |
unused. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.