Full_Name: Jonathan Swinton Version: 1.8.0 OS: Windows 2000 Submission from: (NULL) (193.132.159.34)
Calling qbinom with a sample probability of 1 returns NaN > qbinom(p=0.95,size=10,prob=1) [1] NaN I believe that this is wrong and that qbinom(p,size,prob=1) should always be size for 0<p<=1. The documentation says that The quantile is defined as the smallest value x such that F(x) >= p, where F is the distribution function. Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status = major = 1 minor = 8.0 year = 2003 month = 10 day = 08 language = R Windows 2000 Professional (build 2195) Service Pack 3.0 Search Path: .GlobalEnv, package:lattice, package:Hmisc, package:XML, package:graph, package:methods, package:ctest, package:mva, package:modreg, package:nls, package:ts, Autoloads, package:base ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel