p2z {pCalibrate} | R Documentation |
Transforms the p-value(s) to the corresponding one- or two-sided z-value(s).
p2z(p, type="two.sided")
p |
a vector of p-values |
type |
type of test. Either "two.sided" or "one.sided". Defaults to "two.sided". |
A numeric vector of z-values
p2z(p=c(0.005, 0.01, 0.05)) p2z(p=c(0.005, 0.01, 0.05), type="one.sided")