powered by
SplitValue
Creates a SplitValue object representing a single facet value produced by a splitting operation, optionally carrying a custom subsetting expression and child-specific extra arguments.
SplitValue(val, extr = list(), label = val, sub_expr = NULL)
A SplitValue object.
(ANY) the raw value for this split facet.
ANY
(list) named list of child-specific extra arguments to forward to the analysis or content function for this facet.
list
(character(1)) display label. Defaults to val.
character(1)
val
(expression or NULL) optional subsetting expression. When NULL (default) the expression is derived automatically from val during tabulation.
expression
NULL
splv_extra(), value_expr()
splv_extra()
value_expr()
sv <- SplitValue("A", sub_expr = expression(ARM == "A")) value_expr(sv) splv_extra(sv)
Run the code above in your browser using DataLab