bayesplot v1.8.0
Bug fixes
-
mcmc_areas()tries to use less vertical blank space. (#218, #230) -
Fix bug in
color_scheme_view()minimal theme (#213). -
Fix error in
mcmc_acf()for certain input types. (#244, #245, @hhau)
New features
-
New plotting functions
ppc_dens_overlay_grouped()andppc_ecdf_overlay_grouped()
for plotting density and cumulative distributions of the posterior predictive
distribution (versus observed data) by group. (#212) -
New plotting function
ppc_km_overlay()for outcome variables that are
right-censored. Empirical CCDF estimates ofyrepare compared with the
Kaplan-Meier estimate ofy. (#233, #234, @fweber144) -
ppc_loo_pit_overlay()now uses a boundary correction for an improved kernel
density estimation. The new argumentboundary_correctiondefaults to TRUE but
can be set to FALSE to recover the old version of the plot. (#171, #235,
@ecoronado92) -
CmdStanMCMC objects (from CmdStanR) can now be used with extractor
functionsnuts_params(),log_posterior(),rhat(), and
neff_ratio(). (#227) -
On the y axis,
ppc_loo_pit_qq(..., compare = "normal")now plots standard
normal quantiles calculated from the PIT values (instead of the standardized
PIT values). (#240, #243, @fweber144) -
mcmc_rank_overlay()gains argumentfacet_args. (#221, @hhau) -
For
mcmc_intervals()the sizeof the points and interval lines can be set withmcmc_intervals(..., outer_size, inner_size, point_size)`. (#215, #228, #229)