R/erf.R

Defines functions erf

## 'error function'
#' @export
erf <- function(x) 2 * pnorm(x * sqrt(2)) - 1
PhilippVWC/myBayes documentation built on Oct. 2, 2020, 8:25 a.m.