Rdt | R Documentation |
DT::datatable()
.A wrapper for DT::datatable()
with added default settings for quickly displaying html datatables.
Rdt(x, caption = deparse(substitute(x)), rownames = FALSE, class = c("row-border"), filter = 'none', options = list(pageLength = 300, lengthMenu = c(200, 500, 1000, 1500), info = TRUE, dom = 'tip', ...), ...)
x |
a data object (either a matrix or a data fram) |
caption |
String value for table caption. Currently, the default is the user's label for |
rownames |
Logical ( |
See ?DT::datatable
.
Returns an HTML datatable.
Rachel M. Smith
See ?DT::datatable
and http://rstudio.github.io/DT.
DT::datatable
x <- data.frame(y = seq(1:26), z = letters)
Rdt(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.