rmd_table | R Documentation |
This function utilises the flexibility of kableExtra to choose some 'nice' default tables for either HTML or PDF via LaTeX. (subjective)
rmd_table(x, fmt = c("html", "latex"), scroll_vert = NULL, ...)
x |
data.frame. Data to be converted into a table. |
fmt |
choice. Is the table to be displayed via HTML ("html") or via PDF ("latex"). |
scroll_vert |
numeric. If the format is HTML, create a scroll box of this height (in pixels) |
... |
extra arguments to be passed to either |
Either a HTML table or LaTeX table, depending on format.
Add in some method to alter column widths, likely as a ncol-length simplex.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.