surv: surv.R

View source: R/surv.R

survR Documentation

surv.R

Description

Survival (1 minus the CDF) function of standard normal random variable.

Usage

surv(x)

Arguments

x

Vector of quantiles

Value

Probability that a standard normal random variable is greater than x.

Examples

surv(0)		# Should return 0.5

ryanrsun/GBJ documentation built on Feb. 6, 2024, 1:21 a.m.