erf: Error Function

Description Usage Arguments Value Examples

View source: R/utility_functions.R

Description

Calculates the error function.

Usage

1
erf(x)

Arguments

x

a vector of values on the real number line.

Value

a vector of transformed values based on the error function.

Examples

1
2
3
plot( c(-1,1), c(-3,3), type='n', xlab='x', ylab='erf(x)' )
x = seq(-3,3,length=100)
lines(x,erf(x))

rettopnivek/utilityf documentation built on March 1, 2021, 7:05 p.m.