R/erf.R

Defines functions erf

Documented in erf

#' Error function
#' 
#' @export
erf <- function(x) {
  2 * pnorm(x * sqrt(2)) - 1
}
rogiersbart/rtoolz documentation built on Aug. 20, 2020, 2:48 p.m.