Verifies that and/or convert arguments into valid values to be used in the estimation of difference in responder proportions.
check_diff_prop_ci(rsp, grp, strata = NULL, conf_level, correct = NULL)
(logical
)
vector indicating whether each subject is a responder or not.
(factor
)
vector assigning observations to one out of two groups
(e.g. reference and treatment group).
(factor
)
variable with one level per stratum and same length as rsp
.
(proportion
)
confidence level of the interval.
(flag
)
whether to include the continuity correction. For further
information, see stats::prop.test()
.