Learn R Programming

⚠️There's a newer version (3.3.2) of this package.Take me there.

ggdist (version 2.2.0)

Visualizations of Distributions and Uncertainty

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) , density plots, gradient plots, dot plots (Wilkinson L., 1999) , quantile dot plots (Kay M., Kola T., Hullman J., Munson S., 2016) , complementary cumulative distribution function barplots (Fernandes M., Walls L., Munson S., Hullman J., Kay M., 2018) , and fit curves with multiple uncertainty ribbons.

Copy Link

Version

Install

install.packages('ggdist')

Monthly Downloads

27,954

Version

2.2.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Matthew Kay

Last Published

July 12th, 2020

Functions in ggdist (2.2.0)

geom_interval

Multiple uncertainty interval plots (ggplot geom)
ggdist-package

Visualizations of Distributions and Uncertainty
geom_slabinterval

Slab + point + interval meta-geom
geom_lineribbon

Line + multiple uncertainty ribbon plots (ggplot geom)
geom_dotsinterval

Automatic dotplots, dots + intervals, and quantile dotplots (ggplot geom)
RankCorr

Thinned subset of posterior sample from a Bayesian analysis of perception of correlation.
lkjcorr_marginal

Marginal distribution of a single correlation from an LKJ distribution
geom_pointinterval

Point + multiple uncertainty interval plots (ggplot geom)
marginalize_lkjcorr

Turn spec for LKJ distribution into spec for marginal LKJ distribution
ggdist-ggproto

Base ggproto classes for ggdist
stat_pointinterval

Point summary + multiple uncertainty interval plots (ggplot stat)
stat_slabinterval

Meta-stat for computing slab functions and interval functions (ggplot stat)
stat_interval

Multiple uncertainty interval plots (ggplot stat)
stat_lineribbon

Line + multiple probability ribbon plots (ggplot stat)
parse_dist

Parse distribution specifications into columns of a data frame
stat_sample_slabinterval

Distribution + interval plots (eye plots, half-eye plots, CCDF barplots, etc) for samples (ggplot stat)
stat_dist_slabinterval

Distribution + interval plots (eye plots, half-eye plots, CCDF barplots, etc) for analytical distributions (ggplot stat)
scales

Custom ggplot scales for geom_slabinterval (and derivatives)
point_interval

Point and interval summaries for tidy data frames of draws from distributions
theme_ggdist

Simple, light ggplot2 theme for ggdist and tidybayes
student_t

Scaled and shifted Student's t distribution
tidy-format-translators

Translate between different tidy data frame formats for draws from distributions