Learn R Programming

pivottabler (version 0.4.0)

renderBasicTable: 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,
  rowNamesAsHeader = FALSE)

Arguments

matrix

Tabular data to render.

stylePrefix

Text prefix for CSS style declarations.

rowNamesAsHeader

Include row names in output.

Value

A basic table rendered as a HTML widget.

Examples

Run this code
# NOT RUN {
renderBasicTable(matrix(c(1:12), nrow=3))
# }

Run the code above in your browser using DataLab