ensurePredictor: Ensures the existence of a valid predictor to plot residuals...

View source: R/plots.R

ensurePredictorR Documentation

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 documentation built on Sept. 9, 2022, 1:06 a.m.