Description Usage Arguments Value Examples
visualize table using kable package
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | util.vis.kable(
df,
convert_pct = F,
accuracy = 1,
full_width = F,
escape = F,
caption = NULL,
align = NULL,
align.left = 1L,
digits = 1,
position = "center",
pretty.header = T,
...
)
|
df |
input data.frame |
convert_pct |
boolean, TRUE -> convert number to percent if possible |
accuracy |
decimal for percentage, e.g. 1/0.1/0.01 |
full_width |
boolean, TRUE -> full width table |
escape |
boolean, TRUE escape html tags |
caption |
character, caption of the table |
align |
character, a combined string of text alignment. e.g. 'lcrr' for 4 columns |
align.left |
int, number of columns left aligned. |
digits |
int, number of decimal digits to keep |
position |
'left','right','float_left','center' |
pretty.header |
boolean, TRUE -> colored header |
... |
extra params from kable_styling function |
rendered html table
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.