Package: ggdist 3.3.2.9000
ggdist: Visualizations of Distributions and Uncertainty
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.
Authors:
ggdist_3.3.2.9000.tar.gz
ggdist_3.3.2.9000.zip(r-4.5)ggdist_3.3.2.9000.zip(r-4.4)ggdist_3.3.2.9000.zip(r-4.3)
ggdist_3.3.2.9000.tgz(r-4.4-x86_64)ggdist_3.3.2.9000.tgz(r-4.4-arm64)ggdist_3.3.2.9000.tgz(r-4.3-x86_64)ggdist_3.3.2.9000.tgz(r-4.3-arm64)
ggdist_3.3.2.9000.tar.gz(r-4.5-noble)ggdist_3.3.2.9000.tar.gz(r-4.4-noble)
ggdist_3.3.2.9000.tgz(r-4.4-emscripten)ggdist_3.3.2.9000.tgz(r-4.3-emscripten)
ggdist.pdf |ggdist.html✨
ggdist/json (API)
NEWS
# Install 'ggdist' in R: |
install.packages('ggdist', repos = c('https://mjskay.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mjskay/ggdist/issues
ggplot2uncertaintyuncertainty-visualizationvisualization
Last updated 3 months agofrom:5b771834af. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win-x86_64 | OK | Oct 25 2024 |
R-4.5-linux-x86_64 | OK | Oct 25 2024 |
R-4.4-win-x86_64 | OK | Oct 25 2024 |
R-4.4-mac-x86_64 | OK | Oct 25 2024 |
R-4.4-mac-aarch64 | OK | Oct 25 2024 |
R-4.3-win-x86_64 | OK | Oct 25 2024 |
R-4.3-mac-x86_64 | OK | Oct 25 2024 |
R-4.3-mac-aarch64 | OK | Oct 25 2024 |
Exports:AbstractStatSlabintervalalign_boundaryalign_centeralign_noneauto_partialaxis_titles_bottom_leftbandwidth_bcvbandwidth_dpibandwidth_nrdbandwidth_nrd0bandwidth_SJbandwidth_ucvbin_dotsblur_gaussianblur_intervalbounder_cdfbounder_cookebounder_rangebreaks_FDbreaks_fixedbreaks_quantilesbreaks_Scottbreaks_Sturgescurve_intervalcut_cdf_qidensity_boundeddensity_histogramdensity_unboundeddlkjcorr_marginaldstudent_tfacet_title_horizontalfacet_title_left_horizontalfacet_title_right_horizontalfind_dotplot_binwidthfrom_broom_namesfrom_ggmcmc_namesgeom_blur_dotsgeom_dotsgeom_dotsintervalgeom_intervalgeom_lineribbongeom_pointintervalgeom_slabgeom_slabintervalgeom_spikegeom_swarmgeom_weaveGeomBlurDotsGeomDotsGeomDotsintervalGeomIntervalGeomLineribbonGeomPointintervalGeomSlabGeomSlabintervalGeomSpikeGeomSwarmGeomWeaveguide_colorbar2guide_colourbar2guide_rampbarhdcihdillmarginalize_lkjcorrmean_hdcimean_hdimean_llmean_qimean_ulmedian_hdcimedian_hdimedian_llmedian_qimedian_ulModemode_hdcimode_hdimode_llmode_qimode_ulp_parse_distpartial_colour_rampplkjcorr_marginalpoint_intervalposition_dodgejustPositionDodgejustPr_pstudent_tqiqlkjcorr_marginalqstudent_tr_dist_nameramp_coloursrlkjcorr_marginalrstudent_tscale_color_ramp_continuousscale_color_ramp_discretescale_colour_ramp_continuousscale_colour_ramp_discretescale_fill_ramp_continuousscale_fill_ramp_discretescale_interval_alpha_continuousscale_interval_alpha_discretescale_interval_color_continuousscale_interval_color_discretescale_interval_colour_continuousscale_interval_colour_discretescale_interval_linetype_continuousscale_interval_linetype_discretescale_interval_size_continuousscale_interval_size_discretescale_point_alpha_continuousscale_point_alpha_discretescale_point_color_continuousscale_point_color_discretescale_point_colour_continuousscale_point_colour_discretescale_point_fill_continuousscale_point_fill_discretescale_point_size_continuousscale_point_size_discretescale_side_mirroredscale_slab_alpha_continuousscale_slab_alpha_discretescale_slab_color_continuousscale_slab_color_discretescale_slab_colour_continuousscale_slab_colour_discretescale_slab_fill_continuousscale_slab_fill_discretescale_slab_linetype_continuousscale_slab_linetype_discretescale_slab_linewidth_continuousscale_slab_linewidth_discretescale_slab_shape_continuousscale_slab_shape_discretescale_slab_size_continuousscale_slab_size_discretescale_thickness_identityscale_thickness_sharedsmooth_barsmooth_boundedsmooth_discretesmooth_nonesmooth_unboundedstat_ccdfintervalstat_cdfintervalstat_dist_ccdfintervalstat_dist_cdfintervalstat_dist_dotsstat_dist_dotsintervalstat_dist_eyestat_dist_gradientintervalstat_dist_halfeyestat_dist_intervalstat_dist_lineribbonstat_dist_pointintervalstat_dist_slabstat_dist_slabintervalstat_dotsstat_dotsintervalstat_eyestat_gradientintervalstat_halfeyestat_histintervalstat_intervalstat_lineribbonstat_mcse_dotsstat_pointintervalstat_ribbonstat_sample_slabintervalstat_slabstat_slabintervalstat_spikeStatDistSlabintervalStatIntervalStatPointintervalStatSampleSlabintervalStatSlabintervalStatSpikesubguide_axissubguide_countsubguide_dotssubguide_insidesubguide_integersubguide_nonesubguide_outsidesubguide_slabsubguide_spikesubscale_identitysubscale_thicknesstheme_ggdisttheme_tidybayesthicknessto_broom_namesto_ggmcmc_namesulwaiverweighted_ecdfweighted_quantileweighted_quantile_fun
Dependencies:clicolorspacedistributionalfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmenumDerivpillarpkgconfigquadprogR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr
Dots + interval stats and geoms
Rendered fromdotsinterval.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2024-03-04
Started: 2022-01-15
Frequentist uncertainty visualization
Rendered fromfreq-uncertainty-vis.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2024-03-04
Started: 2019-08-06
Lineribbon stats and geoms
Rendered fromlineribbon.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2024-03-04
Started: 2020-07-15
Slab + interval stats and geoms
Rendered fromslabinterval.Rmd
usingknitr::rmarkdown
on Oct 25 2024.Last update: 2024-07-21
Started: 2019-07-29
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Visualizations of Distributions and Uncertainty | ggdist-package ggdist |
Break (bin) alignment methods | align align_boundary align_center align_none |
Automatic partial function application in ggdist | automatic-partial-functions auto_partial |
Bandwidth estimators | bandwidth bandwidth_bcv bandwidth_dpi bandwidth_nrd bandwidth_nrd0 bandwidth_SJ bandwidth_ucv |
Bin data values using a dotplot algorithm | bin_dots |
Blur functions for blurry dot plots | blur blur_gaussian blur_interval |
Estimate bounds of a distribution using the CDF of its order statistics | bounder_cdf |
Estimate bounds of a distribution using Cooke's method | bounder_cooke |
Estimate bounds of a distribution using the range of the sample | bounder_range |
Break (bin) selection algorithms for histograms | breaks breaks_FD breaks_fixed breaks_quantiles breaks_Scott breaks_Sturges |
Curvewise point and interval summaries for tidy data frames of draws from distributions | curve_interval curve_interval.data.frame curve_interval.matrix curve_interval.rvar |
Categorize values from a CDF into quantile intervals | cut_cdf_qi |
Bounded density estimator using the reflection method | density_bounded |
Histogram density estimator | density_histogram |
Unbounded density estimator | density_unbounded |
Dynamically select a good bin width for a dotplot | find_dotplot_binwidth |
Blurry dot plot (geom) | geom_blur_dots |
Dot plot (shortcut geom) | geom_dots |
Automatic dotplot + point + interval meta-geom | geom_dotsinterval |
Multiple-interval plot (shortcut geom) | geom_interval |
Line + multiple-ribbon plots (ggplot geom) | geom_lineribbon |
Point + multiple-interval plot (shortcut geom) | geom_pointinterval |
Slab (ridge) plot (shortcut geom) | geom_slab |
Slab + point + interval meta-geom | geom_slabinterval |
Spike plot (ggplot2 geom) | geom_spike |
Beeswarm plot (shortcut geom) | geom_swarm |
Dot-weave plot (shortcut geom) | geom_weave |
Deprecated functions and arguments in ggdist | ggdist-deprecated StatDistSlabinterval StatSampleSlabinterval stat_dist_ccdfinterval stat_dist_cdfinterval stat_dist_dots stat_dist_dotsinterval stat_dist_eye stat_dist_gradientinterval stat_dist_halfeye stat_dist_interval stat_dist_lineribbon stat_dist_pointinterval stat_dist_slab stat_dist_slabinterval stat_sample_slabinterval |
Continuous guide for colour ramp scales (ggplot2 guide) | guide_rampbar |
Marginal distribution of a single correlation from an LKJ distribution | dlkjcorr_marginal lkjcorr_marginal plkjcorr_marginal qlkjcorr_marginal rlkjcorr_marginal |
Turn spec for LKJ distribution into spec for marginal LKJ distribution | marginalize_lkjcorr |
Parse distribution specifications into columns of a data frame | parse_dist parse_dist.brmsprior parse_dist.character parse_dist.data.frame parse_dist.default parse_dist.factor r_dist_name |
Partial colour ramp (datatype) | partial_colour_ramp |
Point and interval summaries for tidy data frames of draws from distributions | hdci hdi ll mean_hdci mean_hdi mean_ll mean_qi mean_ul median_hdci median_hdi median_ll median_qi median_ul Mode Mode.default Mode.distribution Mode.rvar mode_hdci mode_hdi mode_ll mode_qi mode_ul point_interval point_interval.default point_interval.distribution point_interval.numeric point_interval.rvar point_interval.tbl_df qi ul |
Dodge overlapping objects side-to-side, preserving justification | position_dodgejust |
Probability expressions in ggdist aesthetics | Pr_ p_ |
Apply partial colour ramps | ramp_colours |
Secondary color scale that ramps from another color (ggplot2 scale) | scale_color_ramp scale_color_ramp_continuous scale_color_ramp_discrete scale_colour_ramp scale_colour_ramp_continuous scale_colour_ramp_discrete scale_fill_ramp scale_fill_ramp_continuous scale_fill_ramp_discrete |
Side scale for mirrored slabs (ggplot2 scale) | scale_side_mirrored |
Slab thickness scale (ggplot2 scale) | scale_thickness scale_thickness_identity scale_thickness_shared |
Smooth dot positions in a dotplot using a kernel density estimator ("density dotplots") | smooth_bounded smooth_density smooth_unbounded |
Smooth dot positions in a dotplot of discrete values ("bar dotplots") | smooth_bar smooth_discrete |
Apply no smooth to a dotplot | smooth_none |
CCDF bar plot (shortcut stat) | stat_ccdfinterval |
CDF bar plot (shortcut stat) | stat_cdfinterval |
Dot plot (shortcut stat) | stat_dots |
Dots + point + interval plot (shortcut stat) | stat_dotsinterval |
Eye (violin + interval) plot (shortcut stat) | stat_eye |
Gradient + interval plot (shortcut stat) | stat_gradientinterval |
Half-eye (density + interval) plot (shortcut stat) | stat_halfeye |
Histogram + interval plot (shortcut stat) | stat_histinterval |
Multiple-interval plot (shortcut stat) | stat_interval |
Line + multiple-ribbon plot (shortcut stat) | stat_lineribbon |
Blurry MCSE dot plot (stat) | stat_mcse_dots |
Point + multiple-interval plot (shortcut stat) | stat_pointinterval |
Multiple-ribbon plot (shortcut stat) | stat_ribbon |
Slab (ridge) plot (shortcut stat) | stat_slab |
Slab + interval plots for sample data and analytical distributions (ggplot stat) | stat_slabinterval |
Spike plot (ggplot2 stat) | stat_spike |
Scaled and shifted Student's t distribution | dstudent_t pstudent_t qstudent_t rstudent_t student_t |
Sub-geometry scales for geom_slabinterval (ggplot2 scales) | guide_colorbar2 guide_colourbar2 scales scale_interval_alpha_continuous scale_interval_alpha_discrete scale_interval_color_continuous scale_interval_color_discrete scale_interval_colour_continuous scale_interval_colour_discrete scale_interval_linetype_continuous scale_interval_linetype_discrete scale_interval_size_continuous scale_interval_size_discrete scale_point_alpha_continuous scale_point_alpha_discrete scale_point_color_continuous scale_point_color_discrete scale_point_colour_continuous scale_point_colour_discrete scale_point_fill_continuous scale_point_fill_discrete scale_point_size_continuous scale_point_size_discrete scale_slab_alpha_continuous scale_slab_alpha_discrete scale_slab_color_continuous scale_slab_color_discrete scale_slab_colour_continuous scale_slab_colour_discrete scale_slab_fill_continuous scale_slab_fill_discrete scale_slab_linetype_continuous scale_slab_linetype_discrete scale_slab_linewidth_continuous scale_slab_linewidth_discrete scale_slab_shape_continuous scale_slab_shape_discrete scale_slab_size_continuous scale_slab_size_discrete sub-geometry-scales |
Axis sub-guide for thickness scales | subguide_axis subguide_count subguide_dots subguide_inside subguide_integer subguide_outside subguide_slab subguide_spike |
Empty sub-guide for thickness scales | subguide_none |
Identity sub-scale for thickness aesthetic | subscale_identity |
Sub-scale for thickness aesthetic | subscale_thickness |
Simple, light ggplot2 theme for ggdist and tidybayes | axis_titles_bottom_left facet_title_horizontal facet_title_left_horizontal facet_title_right_horizontal theme_ggdist theme_tidybayes |
Thickness (datatype) | thickness |
Translate between different tidy data frame formats for draws from distributions | from_broom_names from_ggmcmc_names tidy-format-translators to_broom_names to_ggmcmc_names |
A waived argument | waiver |
Weighted empirical cumulative distribution function | weighted_ecdf |
Weighted sample quantiles | weighted_quantile weighted_quantile_fun |