Skip to content

Commit

Permalink
include DHARMa plot
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 15, 2024
1 parent 4cf45ba commit b9454a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/check_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ check_model.model_fit <- function(x,
dat <- list()

dat$VIF <- .diag_vif(model, verbose = verbose)
dat$QQ <- .diag_qq(model, model_info = model_info, verbose = verbose)
# old QQ plots - now replaced by DHARma
# dat$QQ <- .diag_qq(model, model_info = model_info, verbose = verbose)
dat$QQ <- simulate_residuals(model)
dat$HOMOGENEITY <- .diag_homogeneity(model, verbose = verbose)
dat$REQQ <- .diag_reqq(model, level = 0.95, model_info = model_info, verbose = verbose)
dat$OUTLIERS <- .safe(check_outliers(model, method = "cook"))
Expand Down

0 comments on commit b9454a2

Please sign in to comment.