.calculate_tabulation_statistics {cards} | R Documentation |
Calculate Tabulation Statistics
Description
Function takes the summary instructions from the
statistic = list(variable_name = list(tabulation=c("n", "N", "p")))
argument, and returns the tabulations in an ARD structure.
Usage
.calculate_tabulation_statistics(
data,
variables,
by,
strata,
denominator,
statistic
)
Arguments
data |
( |
variables |
( |
by , strata |
(
Arguments may be used in conjunction with one another. |
denominator |
( |
statistic |
( |
Value
an ARD data frame of class 'card'
Examples
cards:::.calculate_tabulation_statistics(
ADSL,
variables = "ARM",
by = NULL,
strata = NULL,
denominator = "cell",
statistic = list(ARM = list(tabulation = c("N")))
)