choynowski(n, x, row.names=NULL, tol = .Machine$double.eps^0.5, legacy=FALSE)
Arguments
n: a numeric vector of counts of cases
x: a numeric vector of populations at risk
row.names: row names passed through to output data frame
tol: accumulate values for observed counts >= expected until value less than tol
legacy: default FALSE using vectorised alternating side ppois version, if true use original version written from sources and iterating down to tol
Returns
A data frame with columns: - pmap: Poisson probability map values: probablility of getting a more ``extreme'' count than actually observed, one-tailed with less than expected and more than expected folded together
type: logical: TRUE if observed count less than expected
References
Choynowski, M (1959) Maps based on probabilities, Journal of the American Statistical Association, 54, 385--388; Cressie, N, Read, TRC (1985), Do sudden infant deaths come in clusters? Statistics and Decisions, Supplement Issue 2, 333--349; Bailey T, Gatrell A (1995) Interactive Spatial Data Analysis, Harlow: Longman, pp. 300--303.