estimate_baselines: Estimate baselines based on observed counts.

Description Usage Arguments Value

Description

Estimate the baselines (expected values) for the supplied counts.

Usage

1
estimate_baselines(counts, population = NULL)

Arguments

counts

A matrix of observed counts. Rows indicate time (ordered from most recent) and columns indicate locations.

population

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.

Value

A matrix of baselines of the same dimensions as counts.


BenjaK/scanstatistics documentation built on May 5, 2019, 2:41 p.m.