View source: R/render_helpers.R
output_table | R Documentation |
Create a table, depending on the type of output format
output_table(
x,
format = theFormat,
digits = 3,
row.names = TRUE,
escape = FALSE,
align = c("l", rep("r", ncol(x))),
longtable = FALSE,
booktabs = FALSE,
bootstrap_options = "hover",
caption = NULL,
latex_options = "repeat_header",
linesep = "",
...,
font_size = NULL,
full_width = NULL
)
x |
A data frame. If it is a matrix, it gets turned into a data frame. |
format |
Either "pdf", "html" or "word". |
digits , row.names , escape , align , font_size , full_width , longtable , booktabs , bootstrap_options , caption |
Passed through (or not)
to kable or flextable, or not at all. They're named arguments because
passing them through as dots causes errors because |
It kind of works for html and pdf, not really tested for Word. It is very limited in terms of the options available.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.