[Rd] expression as a parameter of binom.test (PR#9288)

savicky at cs.cas.cz savicky at cs.cas.cz
Wed Oct 11 07:28:09 CEST 2006


Full_Name: Petr Savicky
Version: 2.4.0
OS: Fedora Core release 2
Submission from: (NULL) (62.24.91.47)


the error is 

> binom.test(0.56*10000,10000)
Error in binom.test(0.56 * 10000, 10000) : 
        'x' must be nonnegative and integer

while

> binom.test(5600,10000)

yields correct result.

The same error occurrs for
> binom.test(0.57*10000,10000)




More information about the R-devel mailing list