AnalyzeVarSplit | R Documentation |
Define a subset tabulation/analysis
Define a subset tabulation/analysis
AnalyzeVarSplit(
var,
split_label = var,
afun,
defrowlab = "",
cfun = NULL,
cformat = NULL,
split_format = NULL,
split_na_str = NA_character_,
inclNAs = FALSE,
split_name = var,
extra_args = list(),
indent_mod = 0L,
label_pos = "default",
cvar = ""
)
AnalyzeColVarSplit(
afun,
defrowlab = "",
cfun = NULL,
cformat = NULL,
split_format = NULL,
split_na_str = NA_character_,
inclNAs = FALSE,
split_name = "",
extra_args = list(),
indent_mod = 0L,
label_pos = "default",
cvar = ""
)
AnalyzeMultiVars(
var,
split_label = "",
afun,
defrowlab = "",
cfun = NULL,
cformat = NULL,
split_format = NULL,
split_na_str = NA_character_,
inclNAs = FALSE,
.payload = NULL,
split_name = NULL,
extra_args = list(),
indent_mod = 0L,
child_labels = c("default", "topleft", "visible", "hidden"),
child_names = var,
cvar = "",
section_div = NA_character_
)
var |
string, variable name |
split_label |
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). |
afun |
function. Analysis function, must take |
defrowlab |
character. Default row labels if they are not specified by
the return value of |
cfun |
list/function/NULL. tabulation function(s) for creating content
rows. Must accept |
cformat |
format spec. Format for content rows |
split_format |
|
split_na_str |
character. NA string vector for use with |
inclNAs |
boolean. Should observations with NA in the |
split_name |
string. Name associated with this split (for pathing, etc) |
extra_args |
list. Extra arguments to be passed to the tabulation function. Element position in the 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 tabulation function. |
indent_mod |
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. |
label_pos |
character(1). Location the variable label should be
displayed, Accepts |
cvar |
character(1). The variable, if any, which the content function should accept. Defaults to NA. |
.payload |
Used internally, not intended to be set by end users. |
child_labels |
string. One of |
child_names |
character. Names to be given to the sub splits contained
by a compound split (typically a |
section_div |
character(1). String which should be repeated as a section
divider after each group defined by this split instruction, or
|
An AnalyzeVarSplit
object.
An AnalyzeMultiVars
split object.
Gabriel Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.