Z.to.p | R Documentation |
Simple conversion of Z-scores to two-tailed p-values. Written in a way that allows maximum precision for small p-values.
Z.to.p(Z, warn = FALSE)
Z |
Z score, numeric, scalar, vector or matrix, or other types coercible using as.numeric() |
warn |
logical, whether to give a warning for very low p-values when precision limits are exceeded. |
p-valuues with the same dimension as the input
Nicholas Cooper njcooper@gmx.co.uk
p.to.Z
Z.to.p("1.96") Z.to.p(p.to.Z(0.0001)) Z.to.p(37, TRUE) Z.to.p(39, TRUE) # maximum precision exceeded, warnings on Z.to.p(39) # maximum precision exceeded, warnings off
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.