p.to.Z {NCmisc} | R Documentation |
Simple conversion of two-tailed p-values to Z-scores. Written in a way that allows maximum precision for small p-values.
p.to.Z(p)
p |
p-values (between 0 and 1), numeric, scalar, vector or matrix, or other types coercible using as.numeric() |
Z scores with the same dimension as the input
Nicholas Cooper njcooper@gmx.co.uk
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))