On Mon, 6 Mar 2006, François Pinard wrote:

[Kjetil Brinchmann Halvorsen]

erf [in] package (CRAN) NORMT3, as help.search("error function") could
have told [you]

It does not for me.  I would presume one needs NORMT3 installed first,
and NORMT3 is seemingly not part of standard base R installation.

True. And that function is really for complex arguments, and does not work correctly on 64-bit machines, e.g.

erf(1)
Error in erfc(z) : Error code from TOMS 680 was  1


Perhaps more helpful is to point out that erf and erfc are simple transformations of pnorm. RSiteSearch("erf") gave several results such as

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/36416.html

which all point you to example(pnorm) for the details. I'll add appropriate \concept fields.

--
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://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to