ci2estimate {ReplicationSuccess} | R Documentation |
Transforms confidence intervals to the corresponding parameter estimates.
ci2estimate(lower, upper, ratio = FALSE, antilog = FALSE)
lower |
a vector of lower confidence interval bounds |
upper |
a vector of upper confidence interval bounds |
ratio |
Indicates whether the confidence interval is for a ratio, e.g. an
odds ratio, relative risk or hazard ratio, or not.
Defaults to |
antilog |
Indicates whether the estimate is reported on the ratio scale. Only
applies if |
A numeric vector of parameter estimates.
ci2estimate(lower = 1, upper = 3) ci2estimate(lower = 1, upper = 3, ratio = TRUE) ci2estimate(lower = 1, upper = 3, ratio = TRUE, antilog = TRUE)