aggregate.disProg {surveillance}R Documentation

Aggregate a disProg Object

Description

Aggregates the observed counts of a multivariate disProg object over the units.

Usage

  ## S3 method for class 'disProg'
aggregate(x,...)

Arguments

x

Object of class disProg

...

not used at the moment

Value

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

Examples

data(ha)
dim(ha$observed)
dim(aggregate(ha)$observed)

[Package surveillance version 1.25.0 Index]