Estimate the baselines (expected values) for the supplied counts.
estimate_baselines(counts, population = NULL)
A matrix of baselines of the same dimensions as counts
.
A matrix of observed counts. Rows indicate time (ordered from most recent) and columns indicate locations.
A matrix or vector of populations for each location
(optional). If a matrix, should be of the same dimensions as
counts
. If a vector, should be of the same length as the number of
columns in counts
.