ensurePredictor {DHARMa} | R 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. |
[Package DHARMa version 0.4.7 Index]