error in dweibull (PR#405)
setzer.woodrow@epa.gov
setzer.woodrow@epa.gov
Thu, 27 Jan 2000 16:37:08 +0100 (MET)
Full_Name: R. Woodrow Setzer, Jr.
Version: 0.90.1
OS: linux - Redhat 6.1
Submission from: (NULL) (165.247.155.206)
dweibull(0,1,1) evaluates to 0; it should be 1.
Note that dweibull(.Machine$double.eps) evaluates to 1.
> dweibull(.01,1,1)
[1] 0.9900498
> dweibull(.00001,1,1)
[1] 0.99999
> dweibull(.Machine$double.eps,1,1)
[1] 1
> dweibull(0,1,1)
[1] 0
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._