powered by
Error function for real values
erf(x)
A vector of real numbers.
A real number. The integral of the gaussian, centred on zero and with standard deviation equal to 1, between 0 and x, multiplied by 2/sqrt(pi).
# NOT RUN { x <- seq(-1,1,length=1000) y <- erf(x) plot(x,y,type="l") # }
Run the code above in your browser using DataLab