Learn R Programming

scanstatistics (version 0.1.0)

negbin_increasing_score: Calculate the increasing score for each space-time window.

Description

Computes the score statistic for each space-time window, assuming the increasing type of outbreak/event/anomaly and either a Poisson or a negative binomial distribution for the counts.

Usage

negbin_increasing_score(table)

Arguments

table

A data.table with columns zone, duration, num, denom.

Value

A data.table with columns zone, duration, statistic.