checkModel: Check if the fitted model is supported by DHARMa

View source: R/compatibility.R

checkModelR Documentation

Check if the fitted model is supported by DHARMa

Description

The function checks if the fitted model is supported by DHARMa, and if there are other issues that could create problems.

Usage

checkModel(fittedModel, stop = F)

Arguments

fittedModel

a fitted model.

stop

whether to throw an error if the model is not supported by DHARMa.

Details

The main purpose of this function is to check if the fitted model class is supported by DHARMa. The function additionally checks for properties of the fitted model that could create problems for calculating residuals or working with the results in DHARMa.


DHARMa documentation built on Nov. 7, 2026, 5:08 p.m.