From 1041b283d5a6ab986a81c7c283760ca7cbce5f8b Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 6 Jul 2024 13:37:56 +0200 Subject: [PATCH] Update r2.R --- R/r2.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/r2.R b/R/r2.R index c34c016c6..6f9d6b505 100644 --- a/R/r2.R +++ b/R/r2.R @@ -529,7 +529,7 @@ r2.glmmTMB <- function(model, ci = NULL, tolerance = 1e-5, verbose = TRUE, ...) out <- r2_zeroinflated(model) } else if (info$is_beta) { # beta-regression - out <- r2_ferarri(model) + out <- r2_ferrari(model) } else { insight::format_error("`r2()` does not support models of class `glmmTMB` without random effects and this link-function.") # nolint }