aggregate.disProg {surveillance}R Documentation

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,...)

Arguments

x

Object of class disProg

...

not used at the moment

Value

x

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

Examples

data(ha)
plot(aggregate(ha))

[Package surveillance version 1.17.0.9000 Index]