View source: R/plot_km_band_forestsearch.R
| create_fs_subgroup_indicators | R Documentation |
Internal helper to create Qrecommend and Brecommend indicator columns.
create_fs_subgroup_indicators(
df,
fs.est,
col_names = c("Qrecommend", "Brecommend"),
verbose = FALSE
)
df |
Data frame to modify. |
fs.est |
A forestsearch object. |
col_names |
Character vector of length 2. Names for the indicator columns: first for harm/questionable (treat.recommend == 0), second for benefit/recommend (treat.recommend == 1). Default: c("Qrecommend", "Brecommend") |
verbose |
Logical. Print diagnostic messages. |
Modified data frame with indicator columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.