en: N: the Standard Normal CDF

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/BSM_utilities.R

Description

Equivalent to the R function pnorm

Usage

1
en(x)

Arguments

x

real number

Details

Created numerically using the internal function phi

Value

N(x)

Note

same function provided by en, N

Author(s)

George Fisher GeorgeRFisher@gmail.com

Examples

1
2
3
for (x in seq(from=-5, to=5, by=0.1)) {
   print(paste(x, en(x), pnorm(x), all.equal(en(x), pnorm(x), tolerance=0.01)))
    }

grfiv/ustreasuries documentation built on May 17, 2019, 8:36 a.m.