Learn R Programming

DHARMa (version 0.4.1)

ensureDHARMa: Ensures that an object is of class DHARMa

Description

Ensures that an object is of class DHARMa

Usage

ensureDHARMa(simulationOutput, convert = F)

Arguments

simulationOutput

a DHARMa simulation output or an object that can be converted into a DHARMa simulation output

convert

if TRUE, attempts to convert model + numeric to DHARMa, if "Model", converts only supported models to DHARMa

Value

an object of class DHARMa

Details

The