Row classes and constructors
Row constructors and Classes
LabelRow(
lev = 1L,
label = "",
name = label,
vis = !is.na(label) && nzchar(label),
cinfo = EmptyColInfo,
indent_mod = 0L,
table_inset = 0L
).tablerow(
vals = list(),
name = "",
lev = 1L,
label = name,
cspan = rep(1L, length(vals)),
cinfo = EmptyColInfo,
var = NA_character_,
format = NULL,
na_str = NA_character_,
klass,
indent_mod = 0L,
footnotes = list(),
table_inset = 0L
)
DataRow(...)
ContentRow(...)
A formal object representing a table row of the constructed type.
integer. Nesting level (roughly, indentation level in practical terms).
character(1). A label (not to be confused with the name) for the object/structure.
character(1). Name of the split/table/row being created. Defaults to same as the corresponding label, but is not required to be.
logical. Should the row be visible (LabelRow
only).
InstantiatedColumnInfo (or NULL). Column structure for the object being created.
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.
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).
list. cell values for the row
integer. Column span. 1
indicates no spanning.
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.
character(1). String that should be displayed when the value of x
is missing.
Defaults to "NA"
.
Internal detail.
list or NULL. Referential footnotes to be applied at current level
passed to shared constructor (.tablerow
).
Gabriel Becker