Learn R Programming

ggdibbler (version 0.6.1)

Add Uncertainty to Data Visualisations

Description

A 'ggplot2' extension for visualising uncertainty with the goal of signal suppression. Usually, uncertainty visualisation focuses on expressing uncertainty as a distribution or probability, whereas 'ggdibbler' differentiates itself by viewing an uncertainty visualisation as an adjustment to an existing graphic that incorporates the inherent uncertainty in the estimates. You provide the code for an existing plot, but replace any of the variables with a vector of distributions, and it will convert the visualisation into it's signal suppression counterpart.

Copy Link

Version

Install

install.packages('ggdibbler')

Monthly Downloads

172

Version

0.6.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Harriet Mason

Last Published

December 6th, 2025

Functions in ggdibbler (0.6.1)

geom_dotplot_sample

Dot plot with uncertainty
geom_count_sample

Uncertain Count overlapping points
geom_bar_sample

Uncertain Bar Charts
geom_density_sample

Visualise densities with Uncertainty
geom_hex_sample

Uncertain hexagonal heatmap of 2d bin counts
geom_boxplot_sample

An uncertain box and whiskers plot (in the style of Tukey)
geom_density_2d_sample

Uncertain contours of a 2D density estimate
geom_bin_2d_sample

Uncertain heatmap of 2d bin counts
geom_crossbar_sample

Vertical intervals: lines, crossbars & errorbars with uncertainty
geom_polygon_sample

Uncertain Polygons
geom_point_sample

Visualise Uncertain Points
geom_rug_sample

Uncertain Rug plots in the margins
geom_ribbon_sample

Ribbons and area plots with uncertainty
geom_jitter_sample

Uncertain Jittered Points
StatQqLineSample

A quantile-quantile plot with uncertainty
geom_freqpoly_sample

Histograms and frequency polygons with uncertainty
geom_violin_sample

Violin plots with uncertainty
geom_smooth_sample

Uncertain Smooth
geom_sf_sample

Visualise Sf Objects with Uncertainty
position_identity_identity

Nested identity positions
geom_path_sample

Uncertain Connected observations
scale_discrete_distribution

Position scales for discrete distributions
sample_expand

Simulate outcomes from dibble to make a tibble
scale_continuous_distribution

Position scales for continuous distributions
geom_curve_sample

Line segments and curves with uncertainty
position_nest

Any combination of nested positions
position_stack_nested

Nested stack positions
geom_spoke_sample

Line segments parameterised by location, direction and distance, with uncertainty
position_dodge_nested

Nested dodge positions
position_subdivide

Subdivide position aesthetic in a geometry
StatEcdfSample

Compute uncertain empirical cumulative distributions
StatEllipseSample

Compute normal data ellipses with uncertainty
uncertain_economics

An uncertain version of the economics data from`ggplot2`
toy_temp_dist

A toy data set that provides data for a map with the temperature of each area represented by a random variable.
scale_type.distribution

Sets scale for distributions
geom_label_sample

Uncertain Text
smaller_uncertain_diamonds

An uncertain (and shrunk down) version of the diamonds data from`ggplot2`
geom_raster_sample

Plot rectangles with uncertainty
uncertain_faithfuld

2d density estimate of Old Faithful data with uncertainty
uncertain_faithful

Old Faithful data with uncertainty
StatConnectSample

Connect uncertain observations
toy_temp

A toy data set that has the ambient temperature as measured by a collection of citizen scientists for each Iowa county
StatUniqueSample

Remove duplicates (with uncertainty?)
StatManualSample

Manually compute transformations with uncertainty
uncertain_mtcars

An uncertain version of the mtcars data from base R `datasets`
uncertain_mpg

An uncertain version of the MPG data from `ggplot2`
StatSummaryBinSample

Summarise y values at unique/binned x with uncertainty
StatIdentitySample

Generates a sample from a distribution
StatSummary2dSample

Bin and summarise in 2d (rectangle & hexagons) with uncertain inputs
walktober

Step Counts from Walktober 2025 Challenge
geom_quantile_sample

Quantile regression with uncertainty
geom_abline_sample

Reference lines with uncertainty: horizontal, vertical, and diagonal
geom_contour_sample

Uncertain 2D contours of a 3D surface