| 1 |
\name{newTable} |
| 2 |
\alias{newTable} |
| 3 |
\title{Create new table element.} |
| 4 |
\usage{ |
| 5 |
newTable(table, ..., file = NA, |
| 6 |
significantDigits = TABLE.SIGNIFICANT.DIGITS, |
| 7 |
exportId = NULL, protection = PROTECTION.PUBLIC) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{table}{A matrix or data frame containing the table |
| 11 |
data. Column names will be extracted and used as column |
| 12 |
headers.} |
| 13 |
|
| 14 |
\item{...}{Strings that will be concatenated to form the |
| 15 |
table caption.} |
| 16 |
|
| 17 |
\item{file}{Path or URL to a file containing the full |
| 18 |
table. It is recommend to only show a relevant subset of |
| 19 |
all results in the report itself to increase |
| 20 |
readability.} |
| 21 |
|
| 22 |
\item{significantDigits}{Number of significant digits |
| 23 |
used to trim all numeric columns. The default is |
| 24 |
\code{TABLE.SIGNIFICANT.DIGITS}.} |
| 25 |
|
| 26 |
\item{exportId}{Unique string to identify this element. |
| 27 |
Used to retrieve the element using |
| 28 |
\code{getExportedElement}.} |
| 29 |
|
| 30 |
\item{protection}{Procection level. One of |
| 31 |
PROTECTION.PUBLIC, PROTECTION.GROUP, PROTECTION.PRIVATE.} |
| 32 |
} |
| 33 |
\value{ |
| 34 |
New element. |
| 35 |
} |
| 36 |
\description{ |
| 37 |
Create new table element. |
| 38 |
} |
| 39 |
\author{ |
| 40 |
Nils Gehlenborg \email{[email protected]} |
| 41 |
} |
| 42 |
|