We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b863c commit 125f243Copy full SHA for 125f243
R/ppc-errors.R
@@ -322,6 +322,7 @@ ppc_error_binned <-
322
alpha = 0.25) {
323
check_ignored_arguments(...)
324
325
+ qx <- enquo(x)
326
data <- ppc_error_binnned_data(y, yrep, x = x, bins = bins)
327
facet_layer <- if (nrow(yrep) == 1) {
328
geom_ignore()
@@ -359,7 +360,7 @@ ppc_error_binned <-
359
360
color = point_color
361
) +
362
labs(
- x = if (is.null(x)) "Predicted proportion" else deparse(substitute(x)),
363
+ x = if (is.null(x)) "Predicted proportion" else as_label((qx)),
364
y = "Average Errors \n (with 2SE bounds)"
365
366
bayesplot_theme_get() +
0 commit comments