ci2p {ReplicationSuccess} | R Documentation |
Transforms confidence intervals to the corresponding p-values.
ci2p(lower, upper, conf.level = 0.95, ratio = FALSE, alternative = "two.sided")
lower |
a vector of lower confidence interval bounds |
upper |
a vector of upper confidence interval bounds |
conf.level |
The confidence level of the confidence intervals. Default is 0.95. |
ratio |
Indicates whether the confidence interval is for a ratio, e.g. an
odds ratio, relative risk or hazard ratio. Defaults to |
alternative |
type of p-value. Either "two.sided" or "one.sided". Defaults to "two.sided". Specifies if the p-values are one-sided or two-sided. |
A numeric vector of p-values
ci2se
, ci2z
, ci2estimate
, p2z
, z2p
ci2p(lower = 1, upper = 3) ci2p(lower = 1, upper = 3, alternative = "one.sided")