Skip to content

Commit

Permalink
https://github.com/easystats/performance/issues/382
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 24, 2023
1 parent 01041a2 commit 5ba47aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/plot.binned_residuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ plot.see_binned_residuals <- function(x,
x$ybar[x$group == "yes"] <- NA
x$CI_low[x$group == "yes"] <- NA
x$CI_high[x$group == "yes"] <- NA
# remove missing values, to avoid warning
x <- x[!is.na(x$ybar), ]
}

p <- ggplot2::ggplot(data = x, ggplot2::aes(x = .data$xbar)) +
Expand Down

0 comments on commit 5ba47aa

Please sign in to comment.