Description Usage Arguments Value Examples
visualize table using kable package
1 2 3 4 5 6 7 8 9 10 11 12 |
df |
input data.frame |
type |
character, 'buttons','scroll-y' |
dom |
character, a combined string to indicate table elements |
options |
list, extra options from 'DT' js package |
scrollY |
int, number of pixels to the scrollable window |
rownames |
boolean, TRUE -> show rowname of table |
filter |
character, 'none','top','bottom', position of filter |
background.color |
character, header color |
pretty.header |
boolean, TRUE -> enable colored header |
... |
extra params from 'datatable' function |
rendered html table
1 2 | util.vis.datatable(head(mtcars), type = 'buttons')
util.vis.datatable(head(mtcars), type = 'scroll-y')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.