Defines an S4 class for arbitrary discrete distributions and S4 methods for divergences, distances, and metrics between distributions. Many of the functions described in Chapter 14 of Encyclopedia of Distances (Deza & Deza, 2009) are provided here.
The current development version of the package may be installed from GitHub:
devtools::install_github("patrickreidy/distdist")
Once installed, an overview of the divergence, distances, and metrics provided by the package is available on the package-level documentation page:
help("distdist-package", "distdist")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.