mitchelloharawild / distributional

Vectorised distributions for R
https://pkg.mitchelloharawild.com/distributional
GNU General Public License v3.0
94 stars 15 forks source link

Add geom_distribution_ridges() #6

Closed mitchelloharawild closed 4 years ago

mitchelloharawild commented 4 years ago

Visualising successive distributions would be useful to see entire forecast distributions with time on the y axis.

cc @Sayani07: This is part of the graphics for visually explaining the trend imparted on the transformed distribution's forecast mean.

mitchelloharawild commented 4 years ago

Related work: https://github.com/wilkelab/ggridges

mitchelloharawild commented 4 years ago

Looking into the ggridges code, it could be possible to reuse the geom with a modified stat that supports distributions. The quantile_lines stat option would be useful to repurpose for showing the mean, median and quantiles depending on user options.

mitchelloharawild commented 4 years ago

Closing as this is appropriate for the {ggdist} package.