View source: R/higher_level_disprop_analysis.R
add_disproportionality | R Documentation |
Add disproportionality estimates to data frame with expected counts
add_disproportionality(
df = NULL,
df_syms = NULL,
da_estimators = c("ic", "prr", "ror"),
rule_of_N = 3,
conf_lvl = 0.95
)
df |
Intended use is on the output tibble from |
df_syms |
A list built from df_colnames through conversion to symbols. |
da_estimators |
Character vector specifying which disproportionality estimators to use, in case you don't need all implemented options. Defaults to c("ic", "prr", "ror"). |
rule_of_N |
Numeric value. Sets estimates for ROR and PRR to NA when observed
counts are strictly less than the passed value of |
conf_lvl |
Confidence level of confidence or credibility intervals. Default is 0.95 (i.e. 95 % confidence interval). |
The passed data frame with disproportionality point and interval estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.