- Support for distributional, including new
examples in
vignette("slabinterval")
(#14). stat_dist_...
geoms now calculatepdf
andcdf
columns to allow mashup geoms that involve both functions, such as Correll-style gradient plots combined with violins, as in Helske et al. (#11).stat_dist_...
geoms should now work withgganimate
(#15).- Examples updated to fix errors introduced by
broom::augment()
defaulting tose_fit = FALSE
.
- Initial split from tidybayes: ggdist now contains all stats/geoms from tidybayes (except deprecated ones),
all support functions for stats/geoms (such as
point_interval()
),vignette("slabinterval")
, andvignette("freq-uncertainty-vis")
. Tidybayes will retain all other functions, and will re-export allggdist
functions for now. - All stats and geoms now support automatic orientation determination. Thus, all
h
-suffix geoms are now deprecated. Those geoms have been left intidybayes
and give a deprecation warning when used; they cannot be used fromggdist
directly. geom_interval()
,geom_pointinterval()
, andgeom_lineribbon()
no longer automatically set theymin
andymax
aesthetics if.lower
or.upper
are present in the data. This allows them to work better with automatic orientation detection (and was a bad feature to have existed in the first place anyway). The deprecatedtidybayes::geom_intervalh()
andtidybayes::geom_pointintervalh()
still automatically set those aesthetics, since they are deprecated anyway (so supporting the old behavior is fine in these functions).geom_lineribbon()
/stat_lineribbon()
now supports astep
argument for creating stepped lineribbons. H/T to Solomon Kurz for the suggestion.ggdist
now has its own implementation of the scaled and shifted Student's t distribution (dstudent_t()
,qstudent_t()
, etc), since it is very useful for visualizing confidence distributions.