Error: Special Functions of Mathematics

ErrorR Documentation

Special Functions of Mathematics

Description

Special mathematical functions related to the error function.

The function erfc(x) is a variant of the cumulative normal (or Gaussian) distribution funciton.

The functions erfinv(x) and erfcinv(x) respectively implement the inverse functions of erf(x) and erfc(x).

Usage

erf(x)

## S4 method for signature 'dual'
erf(x)

erfinv(x)

## S4 method for signature 'dual'
erfinv(x)

erfc(x)

## S4 method for signature 'dual'
erfc(x)

erfcinv(x)

## S4 method for signature 'dual'
erfcinv(x)

Arguments

x

dual object.

Value

A dual object containing the transformed values according to the chosen function.

Examples

x <- dual(0.5, 1)
erf(x)
erfc(x)
erfinv(x)
erfcinv(x)


dual documentation built on Oct. 3, 2023, 9:07 a.m.