tableby
functionsA collection of functions that may help users create custom functions that are formatted correctly.
as.tbstat(x, oldClass = NULL, sep = NULL, parens = NULL,
sep2 = NULL, pct = NULL)as.countpct(x, ...)
as.tbstat_multirow(x)
Usually a vector.
class(es) to add to the resulting object.
The separator between x[1]
and the rest of the vector.
A length-2 vector denoting parentheses to use around x[2]
and x[3]
.
The separator between x[2]
and x[3]
.
The symbol to use after percents.
arguments to pass to as.tbstat
.
as.tbstat
defines a tableby statistic with its appropriate formatting.
as.countpct
adds another class to as.tbstat
to use different "digits" arguments. See tableby.control
.
as.tbstat_multirow
marks an object (usually a list) for multiple-row printing.