Skip to content
Prev 38607 / 63424 Next

Suggested change to integrate.Rd (was: Re: 0.5 != integrate(dnorm, 0, 20000) = 0)

If changes are to be made to integrate it would be nice if the following 
was fixed:
 > integrate(dnorm, -Inf, -Inf)
1 with absolute error < 9.4e-05

Note that integrate manages ok when not dealing with Inf or -Inf:
 > integrate(dnorm, -500, -500)
0 with absolute error < 0

David Scott
On 8/12/2010 5:08 p.m., John Nolan wrote: