Simulate Poisson-distributed data according to the supplied parameters and calculate the value of the expectation-based Poisson scan statistic.
simulate_poisson_scanstatistic(table, zones)
A data.table
with columns location, duration, mu
.
A set
of zones, each zone itself being a set
containing locations. Locations should be encoded as integers.
A scalar; the scan statistic for the simulated data.