This function calculates the zero-inflated Poisson statistic for a given spatial zone, for all durations considered.
calc_zipstat_over_duration(table, maxdur, ...)A data.table with columns duration, location, p,
mu, count.
An integer; the maximum duration considered.
Arguments passed to window_zip_statistic.
A list with two elements:
Vector of integers from 1 to maxdur.
Numeric vector containing the ZIP statistics corresponding to each duration, for the given spatial zone.