p.to.Z {NCmisc} | R Documentation |
Convert p-values to Z-scores
Description
Simple conversion of two-tailed p-values to Z-scores. Written in a way that allows maximum precision for small p-values.
Usage
p.to.Z(p)
Arguments
p |
p-values (between 0 and 1), numeric, scalar, vector or matrix, or other types coercible using as.numeric() |
Value
Z scores with the same dimension as the input
Author(s)
Nicholas Cooper njcooper@gmx.co.uk
See Also
Examples
p.to.Z(0.0001)
p.to.Z("5E-8")
p.to.Z(c(".05",".01",".005"))
p.to.Z(matrix(runif(16),nrow=4))
[Package NCmisc version 1.2.0 Index]