erf: Error function

View source: R/LogNormal.R

erfR Documentation

Error function

Description

Evaluates the Gauss error function, 2 * pnorm(sqrt(2) * x) - 1, which appears in the closed form of the LogNormal capped mean.

Usage

erf(x)

Arguments

x

A real number.

Value

The value of the error function at x. A non-numeric x is an error.

See Also

LNormCappedMean

Examples

erf(0.1)
erf(0.5)

NetSimR documentation built on Sept. 30, 2026, 5:13 p.m.