Skip to content

Commit 9dea218

Browse files
authored
Merge branch 'master' into mcmc_scatter-shape
2 parents 7146079 + 89fea18 commit 9dea218

8 files changed

Lines changed: 130 additions & 112 deletions

File tree

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: bayesplot
22
Type: Package
33
Title: Plotting for Bayesian Models
4-
Version: 1.13.0.9000
5-
Date: 2025-06-18
4+
Version: 1.14.0.9000
5+
Date: 2025-08-31
66
Authors@R: c(person("Jonah", "Gabry", role = c("aut", "cre"), email = "jsg2201@columbia.edu"),
77
person("Tristan", "Mahr", role = "aut", comment = c(ORCID = "0000-0002-8890-5116")),
88
person("Paul-Christian", "Bürkner", role = "ctb"),
@@ -11,7 +11,8 @@ Authors@R: c(person("Jonah", "Gabry", role = c("aut", "cre"), email = "jsg2201@c
1111
person("Frank", "Weber", role = "ctb"),
1212
person("Eduardo", "Coronado Sroka", role = "ctb"),
1313
person("Teemu", "Sailynoja", role = "ctb"),
14-
person("Aki", "Vehtari", role = "ctb"))
14+
person("Aki", "Vehtari", role = "ctb"),
15+
person("Behram", "Ulukır", role = "ctb"))
1516
Maintainer: Jonah Gabry <jsg2201@columbia.edu>
1617
Description: Plotting functions for posterior analysis, MCMC diagnostics,
1718
prior and posterior predictive checks, and other visualizations

NEWS.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
* Add `shape` argument to `mcmc_scatter()` by @behramulukir (#375)
44

5-
* PPC "avg" functions (`ppc_scatter_avg()`, `ppc_error_scatter_avg()`, etc.) gain a `stat` argument to set the averaging function. (Suggestion of #348, @kruschke).
6-
* `ppc_error_scatter_avg_vs_x(x = some_expression)` labels the *x* axis with `some_expression`.
7-
* Add `ppc_dots()` and `ppd_dots()` by @behramulukir (#357)
8-
* Add `x` argument to `ppc_error_binned` by @behramulukir (#359)
9-
* Add `x` argument to `ppc_error_scatter_avg()` by @behramulukir (#367)
10-
* Add `discrete` style to `ppc_rootogram` by @behramulukir (#362)
11-
* Add `discrete` argument to `ppc_stat` and `ppd_stat` by @behramulukir (#369)
5+
# bayesplot 1.14.0
6+
7+
* PPC "avg" functions (`ppc_scatter_avg()`, `ppc_error_scatter_avg()`, etc.) gain a `stat` argument
8+
to set the averaging function. (Suggestion of #348, @kruschke).
9+
* `ppc_error_scatter_avg_vs_x(x = some_expression)` labels the x axis with `some_expression`.
10+
* New quantile dot plot functions `ppc_dots()` and `ppd_dots()` by @behramulukir (#357)
11+
* Add `x` argument to `ppc_error_binned()` to control x axis by @behramulukir (#359)
12+
* Add `x` argument to `ppc_error_scatter_avg()` to control x axis by @behramulukir (#367)
13+
* Add `discrete` style to `ppc_rootogram()` by @behramulukir (#362)
14+
* Add `discrete` argument to `ppc_stat()` and `ppd_stat()` to support discrete stats by @behramulukir (#369)
1215

1316
# bayesplot 1.13.0
1417

R/ppc-discrete.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
#' with `discrete = TRUE`.
9090
#' - [ppc_pit_ecdf()] and [ppc_pit_ecdf_grouped()] can also handle discrete
9191
#' variables to plot PIT-ECDF of the empirical PIT values.
92+
#'
9293
#' These functions are not limited to discrete outcomes, but offer discrete-friendly
9394
#' displays for integer-valued statistics.
9495
#'

man/PPC-discrete.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/bayesplot-package.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/_snaps/ppc-loo/ppc-loo-pit-overlay-default.svg

Lines changed: 101 additions & 101 deletions
Loading

tests/testthat/_snaps/ppc-loo/ppc-loo-pit-qq-default.svg

Lines changed: 8 additions & 0 deletions
Loading

tests/testthat/test-ppc-loo.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ test_that("ppc_loo_pit_overlay renders correctly", {
213213
skip_if_not_installed("vdiffr")
214214
skip_if_not_installed("loo")
215215
skip_on_r_oldrel()
216+
skip_if(packageVersion("rstantools") <= "2.4.0")
216217

217218
p_base <- suppressMessages(ppc_loo_pit_overlay(vdiff_loo_y, vdiff_loo_yrep, vdiff_loo_lw))
218219
vdiffr::expect_doppelganger("ppc_loo_pit_overlay (default)", p_base)
@@ -231,6 +232,7 @@ test_that("ppc_loo_pit_qq renders correctly", {
231232
skip_if_not_installed("vdiffr")
232233
skip_if_not_installed("loo")
233234
skip_on_r_oldrel()
235+
skip_if(packageVersion("rstantools") <= "2.4.0")
234236

235237
p_base <- ppc_loo_pit_qq(vdiff_loo_y, vdiff_loo_yrep, vdiff_loo_lw)
236238
vdiffr::expect_doppelganger("ppc_loo_pit_qq (default)", p_base)
@@ -305,6 +307,7 @@ test_that("ppc_loo_pit_ecdf renders correctly", {
305307
skip_if_not_installed("vdiffr")
306308
skip_if_not_installed("loo")
307309
skip_on_r_oldrel()
310+
skip_if(packageVersion("rstantools") <= "2.4.0")
308311

309312
psis_object <- suppressWarnings(loo::psis(-vdiff_loo_lw))
310313
p_base <- ppc_loo_pit_ecdf(

0 commit comments

Comments
 (0)