R/erfc.R

Defines functions erfc

# (see Abramowitz and Stegun 29.2.29)
# complementary error function
#' @export
erfc <- function(x) 2 * pnorm(x * sqrt(2), lower = FALSE)
PhilippVWC/myBayes documentation built on Oct. 2, 2020, 8:25 a.m.