Skip to content

Commit

Permalink
Merge pull request #110 from stan-dev/iss105
Browse files Browse the repository at this point in the history
fix mcmc_rhat() bug, add mcmc diagnostics _data() functions.
  • Loading branch information
jgabry committed Sep 8, 2017
2 parents 65507da + 46c6278 commit ac2b5e7
Show file tree
Hide file tree
Showing 5 changed files with 174 additions and 130 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export(mcmc_hist)
export(mcmc_hist_by_chain)
export(mcmc_intervals)
export(mcmc_neff)
export(mcmc_neff_data)
export(mcmc_neff_hist)
export(mcmc_nuts_acceptance)
export(mcmc_nuts_divergence)
Expand All @@ -61,6 +62,7 @@ export(mcmc_recover_hist)
export(mcmc_recover_intervals)
export(mcmc_recover_scatter)
export(mcmc_rhat)
export(mcmc_rhat_data)
export(mcmc_rhat_hist)
export(mcmc_scatter)
export(mcmc_trace)
Expand Down
32 changes: 18 additions & 14 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@

(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)
* 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)

* `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.
* New plotting function `mcmc_parcoord()` for parallel coordinates plots of
MCMC draws (optionally including HMC/NUTS diagnostic information). (#108)
* 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()`
- `mcmc_neff_data()`
* `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).


# bayesplot 1.3.0

Expand Down
Loading

0 comments on commit ac2b5e7

Please sign in to comment.