random_DT: A Random DT

View source: R/DataTable.R

random_DTR Documentation

A Random DT

Description

This function creates a random DT::datatable, and can be passed into renderDT & DTOutput.

Usage

random_DT(
  nrow,
  ncol,
  type = c("random", "numeric", "character", "numchar"),
  ...
)

Arguments

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

Value

a DT


ThinkR-open/shinipsum documentation built on Feb. 10, 2024, 2:16 a.m.