Last chance! 50% off unlimited learning
Sale ends in
poisson.test(x, T = 1, r = 1,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95)
"two.sided"
, "greater"
or "less"
.
You can specify just the initial letter."htest"
containing the following components:
r
."Exact Poisson test"
or
"Comparison of Poisson rates"
as appropriate.binom.test
in the one-sample case, and using
binom.test
in the two sample case.binom.test
### These are paraphrased from data sets in the ISwR package
## SMR, Welsh Nickel workers
poisson.test(137, 24.19893)
## eba1977, compare Fredericia to other three cities for ages 55-59
poisson.test(c(11, 6+8+7), c(800, 1083+1050+878))
Run the code above in your browser using DataLab