TableTree classes
Table Constructors and Classes
ElementaryTable(
kids = list(),
name = "",
lev = 1L,
label = "",
labelrow = LabelRow(lev = lev, label = label, vis = !isTRUE(iscontent) &&
!is.na(label) && nzchar(label)),
rspans = data.frame(),
cinfo = NULL,
iscontent = NA,
var = NA_character_,
format = NULL,
indent_mod = 0L,
title = "",
subtitles = character(),
main_footer = character(),
prov_footer = character()
)TableTree(
kids = list(),
name = if (!is.na(var)) var else "",
cont = EmptyElTable,
lev = 1L,
label = name,
labelrow = LabelRow(lev = lev, label = label, vis = nrow(cont) == 0 && !is.na(label)
&& nzchar(label)),
rspans = data.frame(),
iscontent = NA,
var = NA_character_,
cinfo = NULL,
format = NULL,
indent_mod = 0L,
title = "",
subtitles = character(),
main_footer = character(),
prov_footer = character()
)
list. List of direct children.
character(1). Name of the split/table/row being creatted. Defaults to same as the corresponding llabel, but is not required to be.
integer. Nesting level (roughly, indentation level in practical terms).
character(1). A label (not to be confused with the name) for the object/structure.
LabelRow. The LabelRow object to assign to this Table. Consructed from label
by default if not specified.
data.frame. Currently stored but otherwise ignored.
InstantiatedColumnInfo (or NULL). Column structure for the object being created.
logical. Is the TableTree/ElementaryTable being constructed the content table for another TableTree.
string, variable name
FormatSpec. Format associated with this split. Formats can be declared via strings ("xx.x"
) or function. In cases such as analyze
calls, they can character vectors or lists of functions.
numeric. Modifier for the default indent position for the structure created by this function(subtable, content table, or row) and all of that structure's children. Defaults to 0, which corresponds to the unmodified default behavior.
character(1). Main title. Ignored for subtables.
character. Subtitles. Ignored for subtables.
character. Main global (non-referential) footer materials.
character. Provenance-related global footer materials. Generally should not be modified by hand.
ElementaryTable. Content table.
A formal object representing a populated table.