Learn R Programming

surveillance (version 1.23.1)

aggregate.disProg: Aggregate a disProg Object

Description

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

Usage

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

Value

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

Arguments

x

Object of class disProg

...

not used at the moment

Examples

Run this code
data(ha)
dim(ha$observed)
dim(aggregate(ha)$observed)

Run the code above in your browser using DataLab