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")
)
A table data structure with possible interactive functionality depending on the choice of the engine.
Input data.frame or tibble to visualize
Specify the title as a text string to be displayed in the rendered table. Default is no title.
String specifying the data source underlying the data set. Default is no title.
String specifying additional information to be displayed as a footnote alongside the data source and specifications of statistical tests.
Type of output that is returned, can be "html" or "latex". Default is "html".
If "html" is selected as output_format
, one can chose between
using kable
, gt
and DT
as engine to render the output table. Default is "gt".
Options formats generated for downloading the data. Default is a list "c('copy', 'csv', 'excel')".