erf: Error function and its inverse

View source: R/erf.R

erfR Documentation

Error function and its inverse

Description

Calculates the error function, its complement and their inverses, used for the normal distribution.

Usage

erf(x)

Arguments

x

The data that is provided

Details

This function calculates the value of the error according to the normally distributed variable using the idea presented in Abramowitz and Stegun (2011)

Value

Gives the error for a normal variable

Author(s)

Karuna Reddy <karuna.reddy@auckland.ac.nz>
MGM Khan <mgm.khan@usp.ac.fj>


stratifyR documentation built on Nov. 13, 2026, 9:06 a.m.