| getFormulaPredictors | R Documentation |
Gets additional predictor(s) specified as a formula for plotResiduals, recalculateResiduals, testCategorical, testQuantiles, testTemporalAutocorrelation, testSpatialAutocorrelation. Predictors are extracted from the data frame stored in the model object. If observations were removed during model fitting due to NAs, these rows are excluded automatically by getFormulaPredictors.
getFormulaPredictors(simulationOutput, formula)
simulationOutput |
simulationOutput (DHARMa object). |
formula |
the formula to be evaluated, typically consisting of one variable except for plotResiduals (optional multiple variables) and testSpatialAutocorrelation (mandatory x and y). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.