Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 13, 2024
1 parent b58d5ed commit 924148e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/r2_nakagawa.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ r2_nakagawa <- function(model,

# null-model
if (is.null(null_model)) {
null_model <- insight::null_model(model, verbose = isTRUE(getOption("easystats_errors", FALSE)))
null_model <- insight::null_model(model, verbose = isTRUE(getOption("easystats_errors", FALSE))
)
}
vars_null <- insight::get_variance(null_model, tolerance = tolerance)

Expand Down

0 comments on commit 924148e

Please sign in to comment.