View source: R/surveillance_utils.r
warning.score2 | R Documentation |
Compute the warning score of a case – defined by its location (coordinates)
and data – for a given set of cylinders (computed with CreateCylinders
).
It can be used in apply
.
warning.score2(case, TT, cylinders)
case |
A |
TT |
An |
cylinders |
A |
A numeric
vector of size two.
tmp = apply(cases, 1, warning.score, TT, cylinders)
warning.score = tmp[1,]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.