@@ -171,7 +171,7 @@ mcmc_rhat <- function(rhat, ..., size = NULL) {
171171
172172# ' @rdname MCMC-diagnostics
173173# ' @export
174- mcmc_rhat_hist <- function (rhat , ... , binwidth = NULL , breaks = NULL ) {
174+ mcmc_rhat_hist <- function (rhat , ... , binwidth = NULL , bins = NULL , breaks = NULL ) {
175175 check_ignored_arguments(... )
176176 data <- mcmc_rhat_data(rhat )
177177
@@ -185,6 +185,7 @@ mcmc_rhat_hist <- function(rhat, ..., binwidth = NULL, breaks = NULL) {
185185 linewidth = 0.25 ,
186186 na.rm = TRUE ,
187187 binwidth = binwidth ,
188+ bins = bins ,
188189 breaks = breaks
189190 ) +
190191 scale_color_diagnostic(" rhat" ) +
@@ -261,7 +262,7 @@ mcmc_neff <- function(ratio, ..., size = NULL) {
261262
262263# ' @rdname MCMC-diagnostics
263264# ' @export
264- mcmc_neff_hist <- function (ratio , ... , binwidth = NULL , breaks = NULL ) {
265+ mcmc_neff_hist <- function (ratio , ... , binwidth = NULL , bins = NULL , breaks = NULL ) {
265266 check_ignored_arguments(... )
266267 data <- mcmc_neff_data(ratio )
267268
@@ -275,6 +276,7 @@ mcmc_neff_hist <- function(ratio, ..., binwidth = NULL, breaks = NULL) {
275276 linewidth = 0.25 ,
276277 na.rm = TRUE ,
277278 binwidth = binwidth ,
279+ bins = bins ,
278280 breaks = breaks ) +
279281 scale_color_diagnostic(" neff" ) +
280282 scale_fill_diagnostic(" neff" ) +
0 commit comments