algebraic.dist: Algebra over Probability Distributions

Provides an algebra over probability distributions enabling composition, sampling, and automatic simplification to closed forms. Supports normal, exponential, multivariate normal, and empirical distributions with operations like addition and subtraction that automatically simplify when mathematical identities apply (e.g., the sum of independent normal distributions is normal). Uses S3 classes for distributions and R6 for support objects.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: stats, mvtnorm, R6
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-12-17
DOI: 10.32614/CRAN.package.algebraic.dist (may not be active yet)
Author: Alexander Towell ORCID iD [aut, cre]
Maintainer: Alexander Towell <lex at metafunctor.com>
BugReports: https://github.com/queelius/algebraic.dist/issues
License: GPL (≥ 3)
URL: https://github.com/queelius/algebraic.dist, https://queelius.github.io/algebraic.dist/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: algebraic.dist results

Documentation:

Reference manual: algebraic.dist.html , algebraic.dist.pdf
Vignettes: algebraic.dist: Examples (source, R code)

Downloads:

Package source: algebraic.dist_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): algebraic.dist_0.1.0.tgz, r-oldrel (x86_64): algebraic.dist_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=algebraic.dist to link to this page.