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 |
| Author: | Alexander Towell |
| 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 |
| Reference manual: | algebraic.dist.html , algebraic.dist.pdf |
| Vignettes: |
algebraic.dist: Examples (source, R code) |
| Package source: | algebraic.dist_0.1.0.tar.gz |
| Windows binaries: | r-devel: algebraic.dist_0.1.0.zip, r-release: algebraic.dist_0.1.0.zip, r-oldrel: algebraic.dist_0.1.0.zip |
| macOS binaries: | r-release (arm64): algebraic.dist_0.1.0.tgz, r-oldrel (arm64): algebraic.dist_0.1.0.tgz, r-release (x86_64): algebraic.dist_0.1.0.tgz, r-oldrel (x86_64): algebraic.dist_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=algebraic.dist to link to this page.