README.md

hhh4ZI

The R package hhh4ZI implements the statistical model introduced by:

Lu J, Meyer S (2023). "A zero-inflated endemic-epidemic model with an application to measles time series in Germany." Biometrical Journal, 65(8), 2100408. https://doi.org/10.1002/bimj.202100408

Installation

To install the hhh4ZI package from the GitHub repository, use:

## install.packages("remotes")
remotes::install_github("Junyi-L/hhh4ZI")

Example

A demo script of hhh4ZI() modelling of measles in Germany (data("measles")) is available as

system.file("demo", "measles.R", package = "hhh4ZI")

in the installed package. To run the whole script (which takes around 1 hour), you could use:

library("hhh4ZI")
demo(measles, ask = FALSE)


Junyi-L/hhh4ZI documentation built on Oct. 14, 2024, 11:45 p.m.