View source: R/plot_km_band_forestsearch.R
| create_reference_subgroup_columns | R Documentation |
Creates indicator columns (0/1) in the data frame for each reference subgroup based on the provided subset expressions.
create_reference_subgroup_columns(df, ref_subgroups, verbose = FALSE)
df |
Data frame to modify. |
ref_subgroups |
Named list of reference subgroup definitions.
Each element should have |
verbose |
Logical. Print diagnostic messages. |
List with modified df, cols, labels, and colors vectors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.