.calculate_stats_as_ard | R Documentation |
Calculate statistics and return in an ARD format
.calculate_stats_as_ard(
df_nested,
variables,
statistic,
by,
strata,
data,
new_col_name = "...ard_all_stats..."
)
df_nested |
( |
variables |
( |
statistic |
(named |
an ARD data frame of class 'card'
data_nested <- ADSL |>
nest_for_ard(
by = "ARM",
strata = NULL,
key = "...ard_nested_data..."
)
cards:::.calculate_stats_as_ard(
df_nested = data_nested,
variables = "AGE",
statistic = list(mean = "mean"),
by = "ARM",
strata = NULL,
data = ADSL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.