Learn R Programming

scanstatistics (version 0.1.0)

poisson_score_terms: Computes the numerator and denominator terms for the Poisson score.

Description

This function calculates the terms found in the numerator and denominator sums for the ordinary version of the Poisson scan statistic (Tango et al. version).

Usage

poisson_score_terms(table)

Arguments

table

A data.table with columns location, duration, mu, count.

Value

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