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

Description Usage Arguments

View source: R/plots.R

Description

Ensures the existence of a valid predictor to plot residuals against

Usage

1
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. 28, 2021, 5:10 p.m.