The function returns a data frame of rates for counts in populations at risk with crude rates, expected counts of cases, relative risks, and Poisson probabilities.
probmap(n, x, row.names=NULL, alternative="less")
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
alternative: default less , may be set to greater
Details
The function returns a data frame, from which rates may be mapped after class intervals have been chosen. The class intervals used in the examples are mostly taken from the referenced source.
Returns
raw: raw (crude) rates
expCount: expected counts of cases assuming global rate
relRisk: relative risks: ratio of observed and expected counts of cases multiplied by 100
pmap: Poisson probability map values: probablility of getting a more ``extreme'' count than actually observed - one-tailed, default alternative observed less than expected
References
Bailey T, Gatrell A (1995) Interactive Spatial Data Analysis, Harlow: Longman, pp. 300--303.