Description Usage Arguments Value Examples
This function creates a random DT::datatable, and can be passed into renderDT
& DTOutput
.
1 2 3 4 5 6 |
nrow |
number of row of the output |
ncol |
number of cols of the output |
type |
type of the columns, can be "random", "numeric", "character", "numchar". Default is random. |
... |
arguments to be passed to DT::datatable |
a DT
1 2 3 4 | if(interactive()){
random_DT(10, 10)
random_DT(10, 10, "numeric")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.