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 os 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 resuls in DHARMa.


DHARMa documentation built on Oct. 18, 2024, 5:09 p.m.