Skip to content

bayesplot v1.4.0

Compare
Choose a tag to compare
@jgabry jgabry released this 12 Sep 15:58
· 896 commits to master since this release

bayesplot v1.4.0 is now on CRAN.

Until CRAN binaries are built (usually a few days) you can install the update using

install.packages("bayesplot", type = "source", repos = "https://cran.rstudio.com/")

or by installing from GitHub using

devtools::install_github("stan-dev/bayesplot", ref = "v1.4.0", build_vignettes = TRUE)

Release notes

(GitHub issue/PR numbers in parentheses)

  • New plotting function mcmc_parcoord() for parallel coordinates plots of
    MCMC draws (optionally including HMC/NUTS diagnostic information). (#108)
  • mcmc_scatter gains an np argument for specifying NUTS parameters, which
    allows highlighting divergences in the plot. (#112)
  • New functions with names ending with suffix _data don't make the plots,
    they just return the data prepared for plotting (more of these to come in
    future releases):
    • ppc_intervals_data() (#101)
    • ppc_ribbon_data() (#101)
    • mcmc_parcoord_data() (#108)
    • mcmc_rhat_data() (#110)
    • mcmc_neff_data() (#110)
  • ppc_stat_grouped(), ppc_stat_freqpoly_grouped() gain a facet_args
    argument for controlling ggplot2 faceting (many of the mcmc_ functions
    already have this).
  • The divergences argument to mcmc_trace() has been deprecated in favor
    of np (NUTS parameters) to match the other functions that have an np
    argument.
  • Fixed an issue where duplicated rhat values would break mcmc_rhat() (#105).