distributions3: Probability Distributions as S3 Objects

Tools to create and manipulate probability distributions using S3. Generics pdf(), cdf(), quantile(), and random() provide replacements for base R's d/p/q/r style functions. Functions and arguments have been named carefully to minimize confusion for students in intro stats courses. The documentation for each distribution contains detailed mathematical notes.

Version: 0.2.4
Imports: ggplot2 (≥ 3.4.0), glue, rlang
Suggests: cowplot, knitr, PoissonBinomial, revdbayes (≥ 1.3.5), rmarkdown, testthat (≥ 3.0.0), tibble, vctrs
Published: 2026-07-22
DOI: 10.32614/CRAN.package.distributions3
Author: Alex Hayes ORCID iD [aut], Ralph Moller-Trane ORCID iD [aut], Daniel Jordan [aut], Paul Northrop ORCID iD [aut], Moritz N. Lang ORCID iD [aut], Achim Zeileis ORCID iD [aut, cre], Emil Hvitfeldt ORCID iD [ctb], Bruna Wundervald ORCID iD [ctb], Alessandro Gasparini ORCID iD [ctb]
Maintainer: Achim Zeileis <Achim.Zeileis at R-project.org>
BugReports: https://github.com/zeileis/distributions3/issues
License: MIT + file LICENSE
URL: https://github.com/zeileis/distributions3, https://zeileis.github.io/distributions3/
NeedsCompilation: no
Materials: README, NEWS
In views: Distributions
CRAN checks: distributions3 results

Documentation:

Reference manual: distributions3.html , distributions3.pdf
Vignettes: Intro to hypothesis testing (source, R code)
One sample sign tests (source, R code)
one-sample-t-confidence-interval (source, R code)
One sample T-tests (source, R code)
Z confidence interval for a mean (source, R code)
One sample Z-tests for a proportion (source, R code)
One sample Z-tests (source, R code)
Paired tests (source, R code)
The Poisson distribution: From basic probability theory to regression models (source, R code)
Two sample Z-tests (source, R code)

Downloads:

Package source: distributions3_0.2.4.tar.gz
Windows binaries: r-devel: distributions3_0.2.3.zip, r-release: distributions3_0.2.3.zip, r-oldrel: distributions3_0.2.3.zip
macOS binaries: r-release (arm64): distributions3_0.2.4.tgz, r-oldrel (arm64): distributions3_0.2.4.tgz, r-release (x86_64): distributions3_0.2.4.tgz, r-oldrel (x86_64): distributions3_0.2.4.tgz
Old sources: distributions3 archive

Reverse dependencies:

Reverse depends: bamlss
Reverse imports: imaginator, scGraphVerse
Reverse suggests: betareg, crch, gamlss, gamlss.dist

Linking:

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