p2z {pCalibrate} | R Documentation |
Transform p-values to z-values
Description
Transforms the p-value(s) to the corresponding one- or two-sided z-value(s).
Usage
p2z(p, type="two.sided")
Arguments
p |
a vector of p-values |
type |
type of test. Either "two.sided" or "one.sided". Defaults to "two.sided". |
Value
A numeric vector of z-values
Examples
p2z(p=c(0.005, 0.01, 0.05))
p2z(p=c(0.005, 0.01, 0.05), type="one.sided")
[Package pCalibrate version 0.2-1 Index]