[Rd] qbinom (PR#13711)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu May 21 10:29:33 CEST 2009


wolfgang.resch at gmail.com wrote:
> Full_Name: Wolfgang Resch
> Version: R 2.8.1 GUI 1.27
> OS: OS X 10.4.11
> Submission from: (NULL) (137.187.89.14)
> 
> 
> Strange behavior of qbinom:
> 
> 
>> qbinom(0.01, 5016279, 1e-07)
> [1] 0
>> qbinom(0.01, 5016279, 2e-07)
> [1] 16
>> qbinom(0.01, 5016279, 3e-07)
> [1] 16
>> qbinom(0.01, 5016279, 4e-07)
> [1] 16
>> qbinom(0.01, 5016279, 5e-07)
> [1] 0

Confirmed with 2.9.0 patched (r48590) on Fedora 32bit.

-- 
    O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-devel mailing list