This function creates a random DT::datatable, and can be passed into renderDT
& DTOutput
.
random_DT(
nrow,
ncol,
type = c("random", "numeric", "character", "numchar"),
...
)
number of row of the output
number of cols of the output
type of the columns, can be "random", "numeric", "character", "numchar". Default is random.
arguments to be passed to DT::datatable
a DT