View source: R/surveillance_utils.r
warning.score | 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.score(case, cylinders, date.time.field = "week")
case |
A |
cylinders |
A |
date.time.field |
A |
A numeric
.
warning.scores = apply(cases, 1, warning.score, cylinders)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.