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.

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>.

Provides functions and benchmark datasets for the economic
    appraisal of soil and water conservation (SWC) measures in watershed
    development projects. Implements benefit-cost ratio (BCR), net present
    value (NPV), internal rate of return (IRR) via the bisection method of
    Brent (1973, ISBN:9780130223715), modified BCR, marginal rate of return
    using the CIMMYT (1988, ISBN:9686127127) method, payback period,
    soil loss economic valuation via the Universal Soil Loss Equation of
    Wischmeier and Smith (1978, ISBN:0160016258), groundwater recharge
    valuation, employment generation ratio, sensitivity analysis, switching
    value analysis, and Monte Carlo simulation. Six datasets are included:
    state-wise BCR benchmarks from NABARD (2019) watershed evaluations,
    USLE erodibility parameters for Indian soil orders from NBSS and LUP,
    rainfall erosivity for twenty Indian districts from IMD data, SWC unit
    cost norms from PMKSY-WDC (GoI 2015), and two hypothetical datasets for
    illustration. Methods follow Gittinger (1982, ISBN:9780801825439) and
    Squire and van der Tak (1975, ISBN:9780801816697).