surveillance (version 1.12.1)

aggregate.disProg: Aggregate the observed counts

Description

Aggregates the observed counts for a multivariate disProgObj over the units. Future versions of surveillance will also allow for time aggregations etc.

Usage

## S3 method for class 'disProg':
aggregate(x,\dots)

Arguments

x
Object of class disProg
...
not used at the moment

Value

  • xunivariate disProg object with aggregated counts and respective states for each time point.

Examples

Run this code
data(ha)
plot(aggregate(ha))

Run the code above in your browser using DataLab