Estimates the relative response risk in the second group divided by that in the first group, with log-scale Wald confidence limits and a two-sided Wald p-value.
Arguments
- tbl
(
matrix)
a 2 by 2 contingency table, as returned in thetblelement oftern::h_prepare_rsp_table(). Rows are reference then treatment; columns are responders then nonresponders.- conf_level
(
proportion)
confidence level of the interval.- correction
(
flag)
whether to add 0.5 to the response counts and group totals, in order to support the case where there are zero responses in either group (Haldane-Anscombe correction).
