risk_adjust | R Documentation |
Create a funnel plot from a dataframe containing at least two columns (i.e numerator and denominator) It is currently working only with binary outcome, continuous outcomes will be supported in future
risk_adjust(data, site_id, outcome, outcome_type, adj_vars)
data |
dataframe containing the numertaors and denominators |
site_id |
string health service (e.g. "site_code") |
outcome |
string health outcome (e.g. "inpatient mortality") |
outcome_type |
type of the outcome variables (i.e. "binary" or "continuous") |
adj_vars |
vector with the adjusting variables (e.g. c("sex", "age")) |
the risk adjusted dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.