Learn R Programming

swash (version 1.3.3)

Swash-Backwash Model for the Single Epidemic Wave

Description

The Swash-Backwash Model for the Single Epidemic Wave was developed by Cliff and Haggett (2006) to model the velocity of spread of infectious diseases across space. This package enables the calculation of the Swash-Backwash Model for user-supplied panel data on regional infections. The package provides additional functions for bootstrap confidence intervals, country comparison, visualization of results, and data management. Furthermore, it contains several functions for analysis and visualization of (spatial) infection data.

Copy Link

Version

Install

install.packages('swash')

Monthly Downloads

431

Version

1.3.3

License

GPL (>= 2)

Maintainer

Thomas Wieland

Last Published

February 23rd, 2026

Functions in swash (1.3.3)

exponential_growth

Exponential Growth Model for Epidemic Data
growth-methods

Methods for Function growth
growth

Logistic Growth Models for Regional Infections
plot_coef_ci

Plot Point Estimates With Confidence Intervals
plot_breakpoints

Calculating and plotting breakpoints in time series
plot-methods

Methods for Function plot
is_balanced

Test whether Panel Dataset with Regional Infection Data is Balanced
loggrowth-class

Class "loggrowth"
swash

Swash-Backwash Model for the Single Epidemic Wave
quantile_ci

Computing Quantiles for a given Numeric Vector
sbm-class

Class "sbm"
plot_regions

Plots of Regional Infections Over Time
summary-methods

Methods for Function summary
swash-package

Implementation of the Swash-Backwash Model for the Single Epidemic Wave and additional functions in R
plot_regions-methods

Methods for Function plot_regions
print-methods

Methods for Function print
metrics

Fit metrics of observed and expected numeric variables
logistic_growth

Logistic Growth Model for Epidemic Data
growth_initial-methods

Methods for Function growth_initial
sbm_ci-class

Class "sbm_ci"
nbstat

Calculate Neighbourhood Statistics from Polygons
show-methods

Methods for Function show
nbmatrix

Construct Neighbourhood Matrix from Polygons
binary_metrics

Fit metrics of observed and expected binary variables
Oesterreich_Faelle

Austria Daily COVID-19 cases by region 2020-02-26 to 2020-05-31
binary_metrics_glm

Fit metrics for binary logit model
Infections

Infections
as_balanced

Correction of Non-balanced Panel Dataset with Regional Infection Data
RKI_Corona_counties

German Counties with COVID-19 Cases
COVID19Cases_geoRegion

Switzerland Daily COVID-19 cases by region
C19dNUTSdata

Regional cumulative COVID-19 deaths
R_t

Effective Reproduction Number for Epidemic Data
compare_countries

Two-country Comparison of Swash-Backwash Model Parameters
growth_initial

Exponential Growth Models for Regional Infections
hist_ci

Creating Histograms with Confidence Intervals
did_fatalities_splm_coef

Results from a Difference-in-Differences Model
confint-methods

Methods for Function confint
countries-class

Class "countries"
expgrowth-class

Class "expgrowth"