| my_kable | R Documentation |
kable() with specific default kableExtra stylingShorthand to apply both knitr::kable() and kableExtra::kable_styling() to a table,
using styling options bootstrap_options = c("striped", "condensed") and full_width = FALSE.
The default number of digits is set to 3 but can be changed.
my_kable(df, digits = 3, position = "center", ...)
df |
A data frame. |
digits |
Sets the number of digits (via the |
position |
Passed to |
... |
Optional arguments passed to |
Only one argument (position) from kableExtra::kable_styling() can be changed here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.