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