rcell {rtables} | R Documentation |
Cell value constructors
Description
Construct a cell value and associate formatting, labeling, indenting, and column spanning information with it.
Usage
rcell(
x,
format = NULL,
colspan = 1L,
label = NULL,
indent_mod = NULL,
footnotes = NULL,
align = NULL,
format_na_str = NULL
)
non_ref_rcell(
x,
is_ref,
format = NULL,
colspan = 1L,
label = NULL,
indent_mod = NULL,
refval = NULL,
align = "center",
format_na_str = NULL
)
Arguments
x |
( |
format |
( |
colspan |
( |
label |
( |
indent_mod |
( |
footnotes |
( |
align |
( |
format_na_str |
( |
is_ref |
( |
refval |
( |
Details
non_ref_rcell
provides the common blank for cells in the reference column, this value otherwise, and should
be passed the value of .in_ref_col
when it is used.
Value
An object representing the value within a single cell within a populated table. The underlying structure of this object is an implementation detail and should not be relied upon beyond calling accessors for the class.
Note
Currently column spanning is only supported for defining header structure.