renderTable {shiny} | R Documentation |
Creates a reactive table that is suitable for assigning to an output
slot.
renderTable(
expr,
striped = FALSE,
hover = FALSE,
bordered = FALSE,
spacing = c("s", "xs", "m", "l"),
width = "auto",
align = NULL,
rownames = FALSE,
colnames = TRUE,
digits = NULL,
na = "NA",
...,
env = parent.frame(),
quoted = FALSE,
outputArgs = list()
)
expr |
An expression that returns an R object that can be used with
|
striped, hover, bordered |
Logicals: if |
spacing |
The spacing between the rows of the table ( |
width |
Table width. Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended. |
align |
A string that specifies the column alignment. If equal to
|
rownames, colnames |
Logicals: include rownames? include colnames (column headers)? |
digits |
An integer specifying the number of decimal places for
the numeric columns (this will not apply to columns with an integer
class). If |
na |
The string to use in the table cells whose values are missing
(i.e. they either evaluate to |
... |
Arguments to be passed through to |
env |
The environment in which to evaluate |
quoted |
Is |
outputArgs |
A list of arguments to be passed through to the
implicit call to |
The corresponding HTML output tag should be div
and have the CSS
class name shiny-html-output
.