From setzer.woodrow@epa.gov  Thu Jan 27 15:37:08 2000
From: setzer.woodrow@epa.gov (setzer.woodrow@epa.gov)
Date: Thu, 27 Jan 2000 16:37:08 +0100 (MET)
Subject: error in dweibull (PR#405)
Message-ID: <200001271537.QAA04550@pubhealth.ku.dk>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


error in dweibull (PR#405)
setzer.woodrow@epa.gov