View source: R/cohort_selection_diagram.R
cohort_selection_diagram | R Documentation |
create cohort selection diagram based on apply_all_filters function. This is often used to understand how many cases and surgeons are removed in each filter
cohort_selection_diagram(data, variables = model_vars, yoe_cutoff = 35, ...)
data |
original data |
variables |
variables that need to be used to exclude missing values, for example years of experience. If need to add multiple variables, use syntax c("var1", "var2") |
yoe_cutoff |
the max years of experience included in the dataset |
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.