swash: Health Geography Toolbox for Model-Based Analysis of Infections Panel Data

Within epidemic outbreaks, infections grow and decline differently between regions, and the velocity of spatial spread differs between countries. The swash library offers a set of model-based analyses for these topics. Spread velocity may be analysed with the Swash-Backwash Model for the Single Epidemic Wave and corresponding functions for bootstrap confidence intervals, country comparison, and visualization of results. Differences in epidemic growth between regions may be analysed using logistic growth models, exponential growth models, Hawkes processes and breakpoint analyses. All functionalities are accessed by the class "infpan" for infections panel data defined in this package, which is built from a data.frame provided by the user.

Package details

AuthorThomas Wieland [aut, cre] (ORCID: <https://orcid.org/0000-0001-5168-9846>)
MaintainerThomas Wieland <geowieland@googlemail.com>
LicenseGPL (>= 2)
Version2.0.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("swash")

Try the swash package in your browser

Any scripts or data that you put into this service are public.

swash documentation built on April 7, 2026, 1:06 a.m.