Computes \(\mathrm{erfc}(x) = 1 - \mathrm{erf}(x)\).
erfc(x)
# S4 method for class 'numeric'
erfc(x)
# S4 method for class 'dualr'
erfc(x)The complementary error function value.
erfc(1) # 1 - erf(1)
#> [1] 0.1572992
x <- dual_variable(0)
value(erfc(x)) # 1
#> [1] 1