warning.score2: Compute the warning score of a case (location and date).

View source: R/surveillance_utils.r

warning.score2R Documentation

Compute the warning score of a case (location and date).

Description

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.

Usage

warning.score2(case, TT, cylinders)

Arguments

case

A numeric; .

TT

An integer.

cylinders

A data.frame object encoding the events.

Value

A numeric vector of size two.

Examples

tmp = apply(cases, 1, warning.score, TT, cylinders)
warning.score = tmp[1,]

mcavallaro/rancovr documentation built on April 17, 2025, 7:21 p.m.