View source: R/tm_t_summary_by.R
template_summary_by | R Documentation |
Creates a valid expression to generate a table to summarize variables by row groups.
template_summary_by(
parentname,
dataname,
arm_var,
id_var,
sum_vars,
by_vars,
var_labels = character(),
add_total = TRUE,
total_label = default_total_label(),
parallel_vars = FALSE,
row_groups = FALSE,
na.rm = FALSE,
na_level = default_na_str(),
numeric_stats = c("n", "mean_sd", "mean_ci", "median", "median_ci", "quantiles",
"range"),
denominator = c("N", "n", "omit"),
drop_arm_levels = TRUE,
drop_zero_levels = TRUE,
basic_table_args = teal.widgets::basic_table_args()
)
parentname |
( |
dataname |
( |
arm_var |
( |
id_var |
( |
sum_vars |
( |
by_vars |
( |
var_labels |
(named |
add_total |
( |
total_label |
( |
parallel_vars |
( |
row_groups |
( |
na.rm |
( |
na_level |
( |
numeric_stats |
( |
denominator |
( |
drop_arm_levels |
( |
drop_zero_levels |
( |
basic_table_args |
( |
a list
of expressions to generate a table or plot object.
tm_t_summary_by()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.