Splits for cutting by values of a numeric variable
VarStaticCutSplit(
var,
split_label = var,
cuts,
cutlabels = NULL,
cfun = NULL,
cformat = NULL,
split_format = NULL,
split_name = var,
child_labels = c("default", "visible", "hidden"),
extra_args = list(),
indent_mod = 0L,
cindent_mod = 0L,
cvar = "",
cextra_args = list(),
label_pos = "visible"
)CumulativeCutSplit(
var,
split_label,
cuts,
cutlabels = NULL,
cfun = NULL,
cformat = NULL,
split_format = NULL,
split_name = var,
child_labels = c("default", "visible", "hidden"),
extra_args = list(),
indent_mod = 0L,
cindent_mod = 0L,
cvar = "",
cextra_args = list(),
label_pos = "visible"
)
VarDynCutSplit(
var,
split_label,
cutfun,
cutlabelfun = function(x) NULL,
cfun = NULL,
cformat = NULL,
split_format = NULL,
split_name = var,
child_labels = c("default", "visible", "hidden"),
extra_args = list(),
cumulative = FALSE,
indent_mod = 0L,
cindent_mod = 0L,
cvar = "",
cextra_args = list(),
label_pos = "visible"
)
string, variable name
string. Label string to be associated with the table generated by the split. Not to be confused with labels assigned to each child (which are based on the data and type of split during tabulation).
numeric. Cuts to use
character (or NULL). Labels for the cuts
list/function/NULL. tabulation function(s) for creating content rows. Must accept x
or df
as first parameter. Must accept labelstr
as the second argument. Can optionally accept all optional arguments accepted by analysis functions. See analyze
.
format spec. Format for content rows
FormatSpec. Default format associated with the split being created.
string. Name associiated with this split (for pathing, etc)
string. One of "default"
, "visible"
, "hidden"
. What should the display behavior be for the labels (ie label rows) of the children of this split. Defaults to "default"
which flags the label row as visible only if the child has 0 content rows.
list. Extra arguments to be passed to the tabulation function. Element position in thte list corresponds to the children of this split. Named elements in the child-specific lists are ignored if they do not match a formal argument of the ttabulation function.
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). The indent modifier for the content tables generated by this split.
character(1). The variable, if any, which the content function should accept. Defaults to NA.
list. Extra arguments to be passed to the content function when tabulating row group summaries.
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.
function. Function which accepts the full vector of var
values and returns cut points to be used (via cut
) when splitting data during tabulation
function. Function which returns either labels for the cuts or NULL when passed the return value of cutfun
logical. Should the cuts be treated as cumulative. Defaults to FALSE
a VarStaticCutSplit
, CumulativeCutSplit
, or VarDynCutSplit
object.