aggregate.disProg: Aggregate a 'disProg' Object

View source: R/disProg.R

aggregate.disProgR 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)

surveillance documentation built on Oct. 2, 2024, 1:08 a.m.