erf: Error functions

Description Usage Arguments Details Value

View source: R/erf.R

Description

Error function, complementary error function and their respective inverse

Usage

1
2
3
4
erf(x)
inverf(x)
erfc(x)
inverfc(x)

Arguments

x

A number, vector or matrix of values.

Details

In this package, these functions are used in other functions. They were implemented here to make the calculation easier to follow. The code from these function was borrowed from the example of the link{Normal} distribution.

Value

A number, vector or matrix of the same dimensions as x


HMSC documentation built on May 31, 2017, 5:14 a.m.

Search within the HMSC package
Search all R packages, documentation and source code