R语言里面的ks.test说明是这样的——
If y is numeric, a two-sample test of the null hypothesis that x and y were drawn from the same continuous distribution is performed.
所以,看到continuous distribution,基本上就把二项分布枪毙了
如果要检验二项分布,用binom.test()吧
binom.test(x, n, p = 0.5,alternative = c("two.sided", "less", "greater"),conf.level = 0.95)