newTable: Create new table element.

View source: R/nozzle.R

newTableR Documentation

Create new table element.

Description

Create new table element.

Usage

  newTable(table, ..., file = NA,
    significantDigits = TABLE.SIGNIFICANT.DIGITS,
    exportId = NULL, protection = PROTECTION.PUBLIC)

Arguments

table

A matrix or data frame containing the table data. Column names will be extracted and used as column headers.

...

Strings that will be concatenated to form the table caption.

file

Path or URL to a file containing the full table. It is recommend to only show a relevant subset of all results in the report itself to increase readability.

significantDigits

Number of significant digits used to trim all numeric columns. The default is TABLE.SIGNIFICANT.DIGITS.

exportId

Unique string to identify this element. Used to retrieve the element using getExportedElement.

protection

Procection level. One of PROTECTION.PUBLIC, PROTECTION.GROUP, PROTECTION.PRIVATE.

Value

New element.

Author(s)

Nils Gehlenborg nils@hms.harvard.edu


Nozzle.R1 documentation built on June 23, 2022, 9:10 a.m.