Learn R Programming

hhh4contacts (version 0.13.4)

Age-Structured Spatio-Temporal Models for Infectious Disease Counts

Description

Meyer and Held (2017) present an age-structured spatio-temporal model for infectious disease counts. The approach is illustrated in a case study on norovirus gastroenteritis in Berlin, 2011-2015, by age group, city district and week, using additional contact data from the POLYMOD survey. This package contains the data and code to reproduce the results from the paper, see 'demo("hhh4contacts")'.

Copy Link

Version

Install

install.packages('hhh4contacts')

Monthly Downloads

311

Version

0.13.4

License

GPL-2

Maintainer

Sebastian Meyer

Last Published

October 7th, 2024

Functions in hhh4contacts (0.13.4)

plotC

Generate an Image of a Contact Matrix
plotHHH4_fitted_groups

Plot Mean Components of a hhh4 Fit by Group
plotHHH4_season_groups

Plot Seasonality of a hhh4 Fit by Group
adaptP

Adapt a Transition Matrix to a Specific Stationary Distribution
fitC

Estimate the Power of the Contact Matrix in a "hhh4" Model
C2pop

Adapt a Contact Matrix to Population Fractions
noroBE

Create "sts" Objects from the Berlin Norovirus Data
powerC

Exponentiate a Matrix via Eigendecomposition
addGroups2WFUN

Group-Dependent Parametric Weights
stratum

Extract Strata
stationary

Stationary Distribution of a Transition Matrix
pop2011

Berlin and German Population by Age Group, 2011
aggregateC

Aggregate a Contact Matrix
aggregateCountsArray

Aggregate an Array of Counts wrt One Dimension (Stratum)
contactmatrix

POLYMOD Contact Matrices for Germany
plotHHH4_maps_groups

Plot Mean Components of a hhh4 Fit by District Averaged Over Time
dssAggregate

Compute the DSS on Aggregated Predictions and Observations
stsplothook

Hook functions for stsplot_time1
expandC

Expand the Contact Matrix over Regions
subset.array

Subset an Array in one Dimension