ElementaryTable-class | R Documentation |
TableTree
classesTableTree
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,
na_str = NA_character_,
indent_mod = 0L,
title = "",
subtitles = character(),
main_footer = character(),
prov_footer = character(),
hsep = default_hsep(),
trailing_sep = NA_character_,
inset = 0L
)
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,
na_str = NA_character_,
indent_mod = 0L,
title = "",
subtitles = character(),
main_footer = character(),
prov_footer = character(),
page_title = NA_character_,
hsep = default_hsep(),
trailing_sep = NA_character_,
inset = 0L
)
kids |
list. List of direct children. |
name |
character(1). Name of the split/table/row being created. Defaults to same as the corresponding label, but is not required to be. |
lev |
integer. Nesting level (roughly, indentation level in practical terms). |
label |
character(1). A label (not to be confused with the name) for the object/structure. |
labelrow |
|
rspans |
data.frame. Currently stored but otherwise ignored. |
cinfo |
|
iscontent |
logical. Is the |
var |
string, variable name |
format |
|
na_str |
character(1). String that should be displayed when the value of |
indent_mod |
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. |
title |
character(1). Main title ( |
subtitles |
character. Subtitles ( |
main_footer |
character. Main global (non-referential) footer materials
( |
prov_footer |
character. Provenance-related global footer materials
( |
hsep |
character(1). Set of character(s) to be repeated as the separator
between the header and body of the table when rendered as text. Defaults to
a connected horizontal line (unicode 2014) in locals that use a UTF
charset, and to |
trailing_sep |
character(1). String which will be used as a section
divider after the printing of the last row contained in this (sub)-table,
unless that row is also the last table row to be printed overall, or
|
inset |
numeric(1). Number of spaces to inset the table header, table body, referential footnotes, and main_footer, as compared to alignment of title, subtitle, and provenance footer. Defaults to 0 (no inset). |
cont |
|
page_title |
character. Page specific title(s). |
A formal object representing a populated table.
Gabriel Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.