Format a table for publication using LaTeX or html

table_1_presentation(
  df,
  caption = "",
  label = "",
  format = "latex",
  html_font = "Arial"
)

Arguments

df

Data frame containing the table data.

caption

Caption for the table.

label

Label for the table.

html_font

character eg Arial

Value

A LaTeX-formatted table.

Examples

if (FALSE) { # \dontrun{
table_1_presentation(df, caption = "Demographic and Clinical Characteristics",
                         label = "table:demographics")
} # }