fmt_kbl | R Documentation |
Create a kable table with some reasonable ATLAS defaults.
fmt_kbl(
x,
booktabs = TRUE,
linesep = "",
centering = FALSE,
escape = FALSE,
position = "left",
latex_options = "HOLD_position",
...
)
x |
For |
booktabs |
T/F for whether to enable the booktabs format for tables. I personally would recommend you turn this on for every latex table except some special cases. |
linesep |
By default, in booktabs tables, |
centering |
T (default)/F. Whether to center tables in the table environment. |
escape |
Boolean; whether to escape special characters when producing
HTML or LaTeX tables. When |
position |
This is the "real" or say floating position for the latex
table environment. The |
latex_options |
A character vector for LaTeX table options. Please see
package vignette for more information. Possible options include
|
... |
Additional parameters passed to |
A kable object.
fmt_kbl(mtcars[, 1:3], align = c("r", "c", "r"),
col.names = c("Column 1", "Column 2", "Column 3"),
caption = "Example Table Title")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.