View source: R/subgroup_consistency_helpers.R
| sort_subgroups_preview | R Documentation |
Sorts a data.table of candidate subgroups before consistency
evaluation. Mirrors sort_subgroups but operates on the
pre-consistency column convention (HR, n, K)
and omits Pcons tiebreakers (consistency not yet available).
sort_subgroups_preview(
result_new,
sg_focus,
selection_rule = "neighborhood",
effect_neighborhood = 0.1,
effect_log_scale = FALSE
)
result_new |
A data.table of candidate subgroups with columns
|
sg_focus |
Character. Sorting focus. One of |
selection_rule |
Character. See |
effect_neighborhood |
Numeric in |
effect_log_scale |
Logical. See |
A sorted data.table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.