Skip to content

Commit

Permalink
https://github.com/easystats/performance/issues/263#issuecomment-2002…
Browse files Browse the repository at this point in the history
…540047
  • Loading branch information
strengejacke committed Mar 17, 2024
1 parent cc531c4 commit 64dcd46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plot.check_overdisp.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ plot.see_check_overdisp <- function(x,
ggplot2::geom_smooth(ggplot2::aes(y = .data$V), linewidth = size_line, color = colors[2], se = FALSE) +
ggplot2::geom_smooth(ggplot2::aes(y = .data$Res2), linewidth = size_line, color = colors[1]) +
ggplot2::labs(
title = "Overdispersion and zero-inflation",
title = "Misspecified dispersion and zero-inflation",
subtitle = "Observed residual variance (green) should follow predicted residual variance (blue)",
x = "Predicted mean",
y = "Residual variance"
Expand All @@ -46,7 +46,7 @@ plot.see_check_overdisp <- function(x,
color = c(rep(colors[1], 2), rep(colors[2], 2))
) +
ggplot2::labs(
title = "Overdispersion and zero-inflation",
title = "Misspecified dispersion and zero-inflation",
subtitle = "Most points should be within solid lines, few points outside dashed lines",
x = "Predicted mean",
y = "Standardized resiuduals"
Expand Down

0 comments on commit 64dcd46

Please sign in to comment.