General Argument Conventions
gen_args(
df,
alt_counts_df,
spl,
pos,
tt,
tr,
verbose,
colwidths,
obj,
x,
value,
object,
path,
label,
label_pos,
cvar,
topleft,
page_prefix,
hsep,
indent_size,
section_div,
na_str,
inset,
table_inset,
...
)
NULL (this is an argument template dummy function)
dataset (data.frame or tibble)
dataset (data.frame or tibble). Alternative full data the rtables framework will use (only) when calculating column counts.
A Split object defining a partitioning or analysis/tabulation of the data.
numeric. Which top-level set of nested splits should the new layout feature be added to. Defaults to the current
TableTree (or related class). A TableTree object representing a populated table.
TableRow (or related class). A TableRow object representing a single row within a populated table.
logical(1). Should extra debugging messages be shown. Defaults
to FALSE
.
numeric vector. Column widths for use with vertical pagination.
ANY. The object for the accessor to access or modify
An object
The new value
The object to modify in-place
character. A vector path for a position within the structure of a tabletree. Each element represents a subsequent choice amongst the children of the previous choice.
character(1). A label (not to be confused with the name) for the object/structure.
character(1). Location the variable label should be
displayed, Accepts hidden (default for non-analyze row splits), visible,
topleft, and - for analyze splits only - default. For analyze calls,
default
indicates that the variable should be visible if and only if
multiple variables are analyzed at the same level of nesting.
character(1). The variable, if any, which the content function should accept. Defaults to NA.
character. Override values for the "top left" material to be displayed during printing.
character(1). Prefix, to be appended with the split value, when forcing pagination between the children of this split/table
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 -
elsewhere (with a once per session warning).
numeric(1). Number of spaces to use per indent level. Defaults to 2
character(1). String which should be repeated as a section
divider after each group defined by this split instruction, or
NA_character_
(the default) for no section divider.
character(1). String that should be displayed when the value of x
is missing.
Defaults to "NA"
.
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).
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).
Passed on to methods or tabulation functions.
Other conventions:
compat_args()
,
constr_args()
,
lyt_args()
,
sf_args()