ensurePredictor | R Documentation |
Ensures the existence of a valid predictor to plot residuals against
ensurePredictor(simulationOutput, predictor = NULL)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.