zip_calculations: Calculate the (logarithm of the) ZIP statistic for each...

Description Usage Arguments Value

View source: R/scan_zip.R


Calculate the logarithm of the ZIP statistic for each space-time window, summing over the locations and times in the window.





A data.table with columns location, duration, mu, p, count. The column mu contains the Poisson expected value parameters, the column p contains the excess zero probabilities.


A set of zones, each zone itself being a set containing locations. Locations should be encoded as integers.


Arguments passed to simulate_zip_scanstatistic.


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

scanstatistics documentation built on May 20, 2017, 2:21 a.m.

Search within the scanstatistics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.