render | R Documentation |
Render a previously created data.frame, tibble or tableone object to html, rtf or latex
render(
data,
title = "",
datasource,
footnote = "",
output_format = "html",
engine = "gt",
download_format = c("copy", "csv", "excel")
)
data |
Input data.frame or tibble to visualize |
title |
Specify the title as a text string to be displayed in the rendered table. Default is no title. |
datasource |
String specifying the data source underlying the data set. Default is no title. |
footnote |
String specifying additional information to be displayed as a footnote alongside the data source and specifications of statistical tests. |
output_format |
Type of output that is returned, can be "html" or "latex". Default is "html". |
engine |
If "html" is selected as |
download_format |
Options formats generated for downloading the data. Default is a list "c('copy', 'csv', 'excel')". |
A table data structure with possible interactive functionality depending on the choice of the engine.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.