Yes, statisticians call the natural versions of the cumulative normal 
distribution, pnorm.  As I recall

erf(x) = 2 * pnorm(x * sqrt(2)) - 1
erfc(x) = 2 * pnorm(x * sqrt(2), lower=FALSE)


On Sat, 21 Jun 2003, Salvatore Barbaro wrote:

> does anybody know if R contains error functions like 
> "erf" and "erfc" in S-Plus? Thanks in advance.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to