renderBasicTable {pivottabler} | R Documentation |
Output a table into a package vignette.
Description
renderBasicTable
is utility function that renders a basic table into a
package vignette. This function is primarily intended for internal use by
the pivottabler package.
Usage
renderBasicTable(
matrix = NULL,
stylePrefix = NULL,
columnNamesAsHeader = FALSE,
rowNamesAsHeader = FALSE,
columnAlignment = "right"
)
Arguments
matrix |
Tabular data to render. |
stylePrefix |
Text prefix for CSS style declarations. |
columnNamesAsHeader |
Include column names in output (if FALSE, the first row from the matrix is used as the column headings). |
rowNamesAsHeader |
Include row names in output. |
columnAlignment |
A character vector specifying the horizontal alignment of each column. |
Value
A basic table rendered as a HTML widget.
Examples
renderBasicTable(matrix(c(1:12), nrow=3))
[Package pivottabler version 1.5.5 Index]