powered by
Transforms the z-value(s) to the corresponding one- or two-sided p-value(s).
z2p(z, type="two.sided")
a vector of z-values
Underlying type of p-value. Either "two.sided" or "one.sided". Defaults to "two.sided".
A numeric vector of p-values
# NOT RUN { z2p(z=c(1,2,5)) z2p(z=c(1,2,5), type="one.sided") # }
Run the code above in your browser using DataLab