Learn R Programming

RTMBdist (version 0.1.0)

erf: AD-compatible error function and complementary error function

Description

AD-compatible error function and complementary error function

Usage

erf(x)

erfc(x)

Value

erf(x) returns the error function and erfc(x) returns the complementary error function.

Arguments

x

vector of evaluation points

Examples

Run this code
erf(1)
erfc(1)

Run the code above in your browser using DataLab