[R] Is this a bug of pweibull()?

Lu Chi-Hsien Joseph cjlu at ibm.stat.ncku.edu.tw
Sat May 11 03:11:57 CEST 2002


In rw1050, I found that
> pweibull(3:10, 2)
[1] 0.9998766 0.9999999 1.0000000 1.0000000       NaN       NaN
[7]       NaN       NaN
Warning message: 
NaNs produced in: pweibull(q, shape, scale, lower.tail, log.p) 

more surprisingly,
> pweibull(3:10, 2.1)
[1] 0.9999566 1.0000000 1.0000000      -Inf       NaN       NaN
[7]       NaN       NaN
Warning message: 
NaNs produced in: pweibull(q, shape, scale, lower.tail, log.p) 

Is this a bug of pweibull() in rw1050?

> version
         _              
platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    1              
minor    5.0            
year     2002           
month    04             
day      29             
language R    

Best regards,

Joseph Lu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list