View source: R/response_subgroups.R
| extract_rsp_subgroups | R Documentation |
Prepares response rates and odds ratios for population subgroups in data frames. Simple wrapper
for h_odds_ratio_subgroups_df() and h_proportion_subgroups_df(). Result is a list of two
data.frames: prop and or. variables corresponds to the names of variables found in data,
passed as a named list and requires elements rsp, arm and optionally subgroups and strata.
groups_lists optionally specifies groupings for subgroups variables.
extract_rsp_subgroups(
variables,
data,
groups_lists = list(),
conf_level = 0.95,
method = NULL,
label_all = "All Patients"
)
variables |
(named |
data |
( |
groups_lists |
(named |
conf_level |
( |
method |
( |
label_all |
( |
A named list of two elements:
prop: A data.frame containing columns arm, n, n_rsp, prop, subgroup, var,
var_label, and row_type.
or: A data.frame containing columns arm, n_tot, or, lcl, ucl, conf_level,
subgroup, var, var_label, and row_type.
response_subgroups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.