estimate_baselines {scanstatistics}R Documentation

Estimate baselines based on observed counts.

Description

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

Usage

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.


[Package scanstatistics version 1.1.1 Index]