Skip to content

Commit

Permalink
Update r2.R
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Jul 6, 2024
1 parent 202b340 commit 1041b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/r2.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1041b28

Please sign in to comment.