distributions3: Probability Distributions as S3 Objects

Tools to create and manipulate probability distributions using S3 objects and methods. Generic functions pdf(), cdf(), quantile(), and random() provide replacements for base R's d/p/q/r style functions. Additional methods are available for moments, namely mean(), variance(), skewness(), and kurtosis(). 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. Infrastructure for fitting distributional (regression) models is provided via score() and hessian() methods, along with further utilities for handling and assessing probability distributions.

Package details

AuthorAlex Hayes [aut] (ORCID: <https://orcid.org/0000-0002-4985-5160>), Ralph Moller-Trane [aut] (ORCID: <https://orcid.org/0000-0001-7824-1785>), Daniel Jordan [aut], Paul Northrop [aut] (ORCID: <https://orcid.org/0000-0002-1992-4882>), Moritz N. Lang [aut] (ORCID: <https://orcid.org/0000-0002-2533-9903>), Reto Stauffer [aut] (ORCID: <https://orcid.org/0000-0002-3798-5507>), Achim Zeileis [aut, cre] (ORCID: <https://orcid.org/0000-0003-0918-3766>), Emil Hvitfeldt [ctb] (ORCID: <https://orcid.org/0000-0002-0679-1945>), Bruna Wundervald [ctb] (ORCID: <https://orcid.org/0000-0001-8163-220X>), Alessandro Gasparini [ctb] (ORCID: <https://orcid.org/0000-0002-8319-7624>)
MaintainerAchim Zeileis <Achim.Zeileis@R-project.org>
LicenseMIT + file LICENSE
Version0.3.1
URL https://zeileis.github.io/distributions3/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("distributions3")

Try the distributions3 package in your browser

Any scripts or data that you put into this service are public.

distributions3 documentation built on Nov. 27, 2026, 5:07 p.m.