erf: Error function

Description Usage Arguments Value See Also

Description

The function erf encodes the error function, defined as erf(x) = 2 * F(x * sqrt(2)) - 1, where F is the Gaussian distribution function.

Usage

1
erf(x, ...)

Arguments

x

numeric. A vector of input values.

...

additional arguments to be passed to pnorm.

Value

A numeric vector of the same length as x.

See Also

pnorm from package stats.


statoo documentation built on Jan. 27, 2017, 1 p.m.