Skip to content

ggdist

Visualizations of Distributions and Uncertainty

v3.3.3 · Apr 22, 2025 · GPL (>= 3)

Description

Provides primitives for visualizing distributions using 'ggplot2' that are particularly tuned for visualizing uncertainty in either a frequentist or Bayesian mode. Both analytical distributions (such as frequentist confidence distributions or Bayesian priors) and distributions represented as samples (such as bootstrap distributions or Bayesian posterior samples) are easily visualized. Visualization primitives include but are not limited to: points with multiple uncertainty intervals, eye plots (Spiegelhalter D., 1999) <https://ideas.repec.org/a/bla/jorssa/v162y1999i1p45-58.html>, density plots, gradient plots, dot plots (Wilkinson L., 1999) <doi:10.1080/00031305.1999.10474474>, quantile dot plots (Kay M., Kola T., Hullman J., Munson S., 2016) <doi:10.1145/2858036.2858558>, complementary cumulative distribution function barplots (Fernandes M., Walls L., Munson S., Hullman J., Kay M., 2018) <doi:10.1145/3173574.3173718>, and fit curves with multiple uncertainty ribbons.

Downloads

CRAN

55.7K

Last 30 days

473rd

147.3K

Last 90 days

515.9K

Last year

Trend: +9.8% (30d vs prior 30d)

r2u CRAN

490

Last 30 days

1.3K

Last 90 days

7.6K

Last year

Trend: +41.6% (30d vs prior 30d)

autoCRAN

6

Last 7 days

22

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

726

Last 30 days

2.3K

Last 90 days

9.9K

Last year

Trend: -7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

for unstated dependencies in examples

Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpV2Rism/file15af5cead63ab/point_interval.R': No space left on device
Error in file(out, "wt") : cannot open the connection
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/ggdist.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

42,109

Files

506

Compiled share

0.1%

Has compiled src

Yes

Language breakdown

R 14,814 (35.2%)C/C++/src 58 (0.1%)Tests 7,177 (17%)Docs 17,011 (40.4%)Vignettes 3,049 (7.2%)

API

Exported functions

205

Internal functions

281

Recent export changes

v3.3.3+7 interval_widths, pretty_widths, subguide_dots +4 more
v3.3.2+15 GeomBlurDots, blur_gaussian, blur_interval +12 more

Testing & CI

Has tests

Yes

Test-to-code ratio

2.41

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

90.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

3

Dep constraint coverage

21.4%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

15

First release

2020-06-14

Latest release

2025-04-23

Avg cadence

113 days

Cold removal rate

100%

Dep drift

31

LOC over versions

v2.1.1: 12,220 LOCv2.2.0: 12,452 LOCv2.3.0: 13,215 LOCv2.4.0: 14,365 LOCv2.4.1: 14,791 LOCv3.0.0: 17,642 LOCv3.0.1: 17,697 LOCv3.1.0: 23,067 LOCv3.1.1: 23,103 LOCv3.2.0: 24,698 LOCv3.2.1: 31,532 LOCv3.3.0: 35,280 LOCv3.3.1: 35,442 LOCv3.3.2: 40,176 LOCv3.3.3: 42,109 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (55)

depends

Dependency Network

Dependencies Reverse dependencies ggplot2 scales rlang cli tibble vctrs withr glue gtable distributional numDeriv quadprog Rcpp agregR BayesERtools DUToolkit EvidenceSynthesis GCEstim MBNMAtime TOSTER autotestR autotesteR beastt conformalForecast crosshap easyRaschBayes esci evalHTE +40 more reverse deps ggdist

Version History

16 tracked
new 3.3.3 Mar 10, 2026
updated 3.3.3 ← 3.3.2 diff Apr 22, 2025
updated 3.3.2 ← 3.3.1 diff Mar 4, 2024
updated 3.3.1 ← 3.3.0 diff Nov 26, 2023
updated 3.3.0 ← 3.2.1 diff May 12, 2023
updated 3.2.1 ← 3.2.0 diff Jan 17, 2023
updated 3.2.0 ← 3.1.1 diff Jul 18, 2022
updated 3.1.1 ← 3.1.0 diff Feb 26, 2022
updated 3.1.0 ← 3.0.1 diff Feb 12, 2022
updated 3.0.1 ← 3.0.0 diff Nov 29, 2021
updated 3.0.0 ← 2.4.1 diff Jul 18, 2021
updated 2.4.1 ← 2.4.0 diff Jun 9, 2021
updated 2.4.0 ← 2.3.0 diff Jan 3, 2021
updated 2.3.0 ← 2.2.0 diff Oct 30, 2020
updated 2.2.0 ← 2.1.1 diff Jul 11, 2020