Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ensurePredictor

Ensures the existence of a valid predictor to plot residuals against


Description

Ensures the existence of a valid predictor to plot residuals against

Usage

ensurePredictor(simulationOutput, predictor = NULL)

Arguments

simulationOutput

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

predictor

an optional predictor. If no predictor is provided, will try to extract the fitted value


DHARMa

Residual Diagnostics for Hierarchical (Multi-Level / Mixed) Regression Models

v0.4.1
GPL (>= 3)
Authors
Florian Hartig [aut, cre] (<https://orcid.org/0000-0002-6255-9059>), Lukas Lohse [ctb]
Initial release
2021-04-8

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.