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
To install the hhh4ZI package from the GitHub repository, use:
## install.packages("remotes")
remotes::install_github("Junyi-L/hhh4ZI")
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.