Table Output — tableOutput
R/bootstrap.R, R/render-table.R
  Description
The tableOuptut()/renderTable() pair creates a reactive table that is
suitable for display small matrices and data frames. The columns are
formatted with xtable::xtable().
See renderDataTable() for data frames that are too big to fit on a single
page.
Arguments
- outputId
- output variable to read the table from 
- expr
- An expression that returns an R object that can be used with - xtable::xtable().
- striped, hover, bordered
- Logicals: if - TRUE, apply the corresponding Bootstrap table format to the output table.
- spacing
- The spacing between the rows of the table ( - xsstands for "extra small",- sfor "small",- mfor "medium" and- lfor "large").
- 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 - 'l',- 'c'or- 'r', then all columns will be, respectively, left-, center- or right-aligned. Otherwise,- alignmust have the same number of characters as the resulting table (if- rownames = TRUE, this will be equal to- ncol()+1), with the i-th character specifying the alignment for the i-th column (besides- 'l',- 'c'and- 'r',- '?'is also permitted -- '?'is a placeholder for that particular column, indicating that it should keep its default alignment). If- NULL, then all numeric/integer columns (including the row names, if they are numbers) will be right-aligned and everything else will be left-aligned (- align = '?'produces the same result).
- 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 - digitsis set to a negative value, then the numeric columns will be displayed in scientific format with a precision of- abs(digits)digits.
- na
- The string to use in the table cells whose values are missing (i.e. they either evaluate to - NAor- NaN).
- ...
- Arguments to be passed through to - xtable::xtable()and- xtable::print.xtable().
- env
- The parent environment for the reactive expression. By default, this is the calling environment, the same as when defining an ordinary non-reactive expression. If - expris a quosure and- quotedis- TRUE, then- envis ignored.
- quoted
- If it is - TRUE, then the- quote()ed value of- exprwill be used when- expris evaluated. If- expris a quosure and you would like to use its expression as a value for- expr, then you must set- quotedto- TRUE.
- outputArgs
- A list of arguments to be passed through to the implicit call to - tableOutput()when- renderTableis used in an interactive R Markdown document.