Learn R Programming

DHARMa (version 0.4.1)

checkModel: 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.