View source: R/surveillance_utils.r
compute.from.tab.baseline | R Documentation |
A cylinder is defined by the circle coordinated (say, x,y, and radius) and lower and upper height limits (aay, t.low and t.upp, respectively).
For a given cylinder, this function computes the number of observed events (n_cases
) in the cylinder according to
observation.matrix
, the expected number mu
of events according the Poisson point model (with intensity
defined in tab.baseline
), and the probability that .
The function returns c(n_cases, mu, p.val)
.
compute.from.tab.baseline(
cylinder,
observation.matrix,
tab.baseline,
postcode.locations
)
cylinder |
|
observation.matrix |
A |
tab.baseline |
An |
postcode.locations |
A |
A numeric
vector of dimension 3.
exceedance=compute(c(x,y,rho,t.low,t.upp), observation.matrix, tab.baseline, postcode.locations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.