z2p {pCalibrate}R Documentation

Transform z-values to p-values

Description

Transforms the z-value(s) to the corresponding one- or two-sided p-value(s).

Usage

z2p(z, type="two.sided")

Arguments

z

a vector of z-values

type

Underlying type of p-value. Either "two.sided" or "one.sided". Defaults to "two.sided".

Value

A numeric vector of p-values

Examples

z2p(z=c(1,2,5))
z2p(z=c(1,2,5), type="one.sided")

[Package pCalibrate version 0.2-1 Index]