| erf | R Documentation |
Computes \mathrm{erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} dt.
erf(x)
## S4 method for signature 'numeric'
erf(x)
## S4 method for signature 'dualr'
erf(x)
x |
A numeric or dual value. |
The error function value. For dual input, returns a dual with
derivative (2/\sqrt{\pi}) e^{-x^2}.
erf(1)
x <- dual_variable(1)
value(erf(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.