bayesplot icon indicating copy to clipboard operation
bayesplot copied to clipboard

Add `bounds` argument to plots building on `geom_density` and `stats_density`

Open TeemuSailynoja opened this issue 1 year ago • 1 comments

At the moment, these functions use geom_density, or stat_density

  • ppc_dens
  • ppc_dens_overlay
  • ppc_dens_overlay_grouped
  • ppd_dens
  • ppd_dens_overlay
  • mcmc_dens
  • mcmc_dens_overlay
  • mcmc_dens_chains
  • mcmc_areas
  • mcmc_areas_ridges

They all can feasibly be used to plot, for example, non-negative values, and the plots can look quite different if the bounds parameter is passed to stat_density.

TeemuSailynoja avatar Jan 25 '24 14:01 TeemuSailynoja

Good idea!

jgabry avatar Jan 25 '24 14:01 jgabry