Calculate the logarithm of the ZIP statistic for each space-time window,
summing over the locations and times in the window.
zip_calculations(table, zones, ...)
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.
location, duration, mu,
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.
zone, duration, statistic
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.