R/RcppExports.R
riskDiffExactCI.RdObtains the exact unconditional confidence interval for risk difference based on the standardized score statistic.
riskDiffExactCI(
n1 = NA_integer_,
y1 = NA_integer_,
n2 = NA_integer_,
y2 = NA_integer_,
cilevel = 0.95
)A data frame containing the following variables:
scale: The scale of treatment effect.
estimate: The point estimate.
lower: The lower limit of the confidence interval.
upper: The upper limit of the confidence interval.
cilevel: The confidence interval level.
riskDiffExactCI(n1 = 30, y1 = 2, n2 = 30, y2 = 1, cilevel = 0.95)
#> scale estimate lower upper cilevel
#> 1 risk difference 0.03333333 -0.111153 0.200071 0.95