z2p {pCalibrate} | R Documentation |
Transforms the z-value(s) to the corresponding one- or two-sided p-value(s).
z2p(z, type="two.sided")
z |
a vector of z-values |
type |
Underlying type of p-value. Either "two.sided" or "one.sided". Defaults to "two.sided". |
A numeric vector of p-values
z2p(z=c(1,2,5)) z2p(z=c(1,2,5), type="one.sided")