View source: R/lower_level_disprop_analysis.R
apply_rule_of_N | R Documentation |
Internal function to set disproportionality cells for ROR and PRR to NA when observed count < 3
apply_rule_of_N(
da_df = NULL,
da_estimators = c("ic", "prr", "ror"),
rule_of_N = NULL
)
da_df |
See the intermediate object da_df in add_disproportionality |
da_estimators |
Default is c("ic", "prr", "ror"). |
rule_of_N |
An length one integer between 0 and 10. |
Sometimes, you want to protect yourself from spurious findings based on small observed counts combined with infinitesimal expected counts.
The input data frame (da_df) with potentially some cells set to NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.