The Swash-Backwash Model for the Single Epidemic Wave was developed by Cliff and Haggett (2006) <doi:10.1007/s10109-006-0027-8> 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.

There are numerous places to create and download color
    palettes. These are usually shared in 'Adobe' swatch file formats of
    some kind. There is also often the need to use standard palettes
    developed within an organization to ensure that aesthetics are carried over
    into all projects and output. Now there is a way to read these swatch
    files in R and avoid transcribing or converting color values by hand or
    or with other programs. This package provides functions to read and
    inspect 'Adobe Color' ('ACO'), 'Adobe Swatch Exchange' ('ASE'), 'GIMP Palette' ('GPL'),
    'OpenOffice' palette ('SOC') files and 'KDE Palette' ('colors') files. Detailed
    descriptions of 'Adobe Color' and 'Swatch Exchange' file formats as well as other
    swatch file formats can be found at
    <http://www.selapa.net/swatches/colors/fileformats.php>.

A set of tools for examining the design and analysis aspects of 
	stepped wedge cluster randomized trials (SW CRT) based on a repeated 
	cross-sectional or cohort sampling scheme (Hussey MA and Hughes JP (2007) 
	Contemporary Clinical Trials 28:182-191).

Implements the Sliding Window Discrete Fourier Transform (SWDFT). Also provides 
             statistical methods based on the SWDFT, and graphical tools to display the outputs.

To meet the needs of statistical power calculation for stepped wedge cluster randomized trials, we developed this software. Different parameters can be specified by users for different scenarios, including: cross-sectional and cohort designs, binary and continuous outcomes, marginal (GEE) and conditional models (mixed effects model), three link functions (identity, log, logit links), with and without time effects (the default specification assumes no-time-effect) under exchangeable, nested exchangeable and block exchangeable correlation structures. Unequal numbers of clusters per sequence are also allowed. The methods included in this package: Zhou et al. (2020) <doi:10.1093/biostatistics/kxy031>, Li et al. (2018) <doi:10.1111/biom.12918>. Supplementary documents can be found at: <https://ysph.yale.edu/cmips/research/software/study-design-power-calculation/swdpwr/>. The Shiny app for swdpwr can be accessed at: <https://jiachenchen322.shinyapps.io/swdpwr_shinyapp/>. The package also includes functions that perform calculations for the intra-cluster correlation coefficients based on the random effects variances as input variables for continuous and binary outcomes, respectively.