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
)
The input data frame (da_df) with potentially some cells set to NA.
See the intermediate object da_df in add_disproportionality
Default is c("ic", "prr", "ror").
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.