Skip to content

distributional

0.9.0Package record

Vectorised Probability Distributions

25packages dependsuggested by 11
7.4Mdownloads / year
75.9%test coverage
13/13flavors OK

Overview

About

Vectorised distribution objects with tools for manipulating, visualising, and using probability distributions. Designed to allow model prediction outputs to return distributions rather than their parameters, allowing users to directly interact with predictive distributions in a data-oriented workflow. In addition to providing generic replacements for p/d/q/r functions, other useful statistics can be computed including means, variances, intervals, and highest density regions.

Changes in 0.9.0

New features

  • Added a vignette("broadcasting") to describe how statistics apply to vectors of distributions differently based on the form of the statistical operation's argument (scalar, vector, or list).
  • Added dist_density(), a distribution characterised by the values of its probability density function at a set of points. This is useful for representing a distribution known only through its density, such as a kernel density estimate or a posterior evaluated over a grid.
  • Added dist_cdf(), which describes a distribution by the cumulative probabilities at a set of values. Interpolation is done linearly, and the results are equivalent to dist_quantile() with swapped arguments.
  • Added dist_tweedie(), for the Tweedie compound Poisson-Gamma distribution with power parameter in (1, 2), using the tweedieDistr package (@StefanoDamato).
Show all changes in 0.9.0Hide the rest of the changes in 0.9.0
  • Added recursive option for parameters(), which recursively extracts the parameters of inner distributions to return a flat data frame (#161).
  • Added recursive option for family(), which identifies the families of distributions embedded within another (e.g. dist_mixture()) returning a nested list describing the full family tree (#110).

Breaking changes

  • generate()'s times argument no longer accepts length-n vectors, and instead requires times = list(c(...)) for consistency with other operations.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.9.0
READMEYes · 364 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.9.0Citation fileNoWebsiteYes · pkgdown
Help pages
81 (2 internal)includes a package overview page
Examples that run
100%58 run in a plain check (15 of them under a condition)
Exported functions with examples
83%
Documented parameters
80%
Return-value docs
7%
Help pages citing references
5%
Vignettes (1)

Downloads

7.4M
CRAN downloads in the past year
Rank #103 · ~20.3K/day · ~617.9K/mo
Daily download trend is not available in this view yet.
468K30 days
1.9M90 days
7.4M1 year
Compare downloads with other packages →
Also on24.8K r2u9 autocran34.8K conda_forge700 c2d4u

Repository

113Stars
20Forks
33Open issues
1Open PRs
14Releases
665Commits
12Commit identities
probability-distributionrstatisticsvctrs
License file reads as GPL-3.0 · 665 commits · Last activity 2026-10-09 · 0% stars, 30d · Default branch at 0.9.0.9000, ahead of CRAN 0.9.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
25
Median days to close, 50 most recently updated closed PRs
6

Stars over time

2025-09-23 · 1042026-09-04 · 113
PracticesBeta

12 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/mitchelloharawild/distributional on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow

pkgdown site last built 2026-09-08

CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-08-31
    Pull request: opened by its own account
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing distributional adds 9 packages (5 with compiled code, 3.3 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none

People & History

People (7)
Author, Maintainer since 0.1.0 (2020)
Author · added in 0.2.0
Author · added in 0.5.0
Author · added in 0.2.0
Contributor · added in 0.9.0
Contributor · added in 0.5.0
Contributor
Releases (15)

Pick two releases to compare their code metrics.

  • 0.9.0Latest
    record
    2026-09-08 · current release · diff ↗ ·
    added 3 exports
    dist_cdf, dist_density, dist_tweedie
  • 0.8.1
    record
    2026-06-27 · diff ↗
  • 0.8.0
    record
    2026-06-23 · diff ↗ ·
    added 2 exports
    dist_convolved, dist_quantile
  • 0.7.1
    record
    2026-06-11 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.0
    record
    2026-03-17 · diff ↗ ·
    added 2 exports
    dist_dirichlet, dist_horseshoe
  • 0.6.0
    record
    2026-01-14 · diff ↗ ·
    added 3 exports
    dist_laplace, dist_multivariate_t, has_symmetry
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    record
    2024-09-17 · diff ↗ ·
    added 4 exports
    dist_gev, dist_gh, dist_gk, dist_gpd
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.0
    record
    2024-02-07 · diff ↗ ·
    removed 6 exports
    autoplot.distribution, geom_hilo_linerange, geom_hilo_ribbon, guide_level, scale_hilo_continuous, scale_level_continuous
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.2
    record
    2023-03-22 · diff ↗
  • 0.3.1
    record
    2022-09-02 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.0
    record
    2022-01-06 · diff ↗ ·
    added 7 exports
    autoplot.distribution, covariance, dist_categorical, dist_lognormal, log_likelihood, parameters, support
Show 6 earlier eventsHide 6 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.2
    record
    2021-02-02 · diff ↗ ·
    added 1 export
    is_distribution
  • 0.2.1
    record
    2020-10-06 · diff ↗ ·
    added 1 export
    dist_missing
  • 0.2.0
    record
    2020-08-03 · diff ↗ ·
    removed 2 exports
    col2hex, darken_fill
    added 4 exports
    dist_wrap, kurtosis, likelihood, skewness
  • 0.1.0
    record
    2020-06-09
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-06-09
Total releases
15 / 6 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Download size
183 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("distributional")
O'Hara-Wild, M., Damato, S., Hayes, A., Hyndman, R., Kay, M., Popov, V., & Wang, E. (2026). distributional: Vectorised Probability Distributions (Version 0.9.0) [Computer software]. https://doi.org/10.32614/CRAN.package.distributional

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for distributional version 0.9.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy