create_DT | R Documentation |
Create an interactive data table with download buttons.
create_DT(data, caption = "", scrollY = 400)
data |
a data object (either a matrix or a data frame) |
caption |
the table caption; a character vector or a tag object
generated from |
scrollY |
Max height (in pixels) before wrapping the table in a vertical scroll bar. |
datatables object.
data("mtcars")
create_DT(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.