moses.list {ENMTools} | R Documentation |
Takes a list of enmtools.species objects and uses model selection to ask whether they're better treated jointly or separately
Description
Takes a list of enmtools.species objects and uses model selection to ask whether they're better treated jointly or separately
Usage
moses.list(
species.list,
env,
f = NULL,
eval = FALSE,
nback = 1000,
bg.source = "default",
verbose = FALSE,
step = FALSE,
...
)
Arguments
species.list |
A list of enmtools.species objects, or an enmtools.clade object. |
env |
A SpatRaster of environmental data. |
f |
A GLM-style function for model fitting |
eval |
Boolean indicating whether or not GLMs should be evaluated using AUC/TSS/etc. |
nback |
Number of background points to generate, if any |
bg.source |
Source for drawing background points. If "points", it just uses the background points that are already in the species object. If "range", it uses the range raster. If "env", it draws points at randome from the entire study area outlined by the first environmental layer. |
verbose |
Controls printing of various messages progress reports. Defaults to FALSE. |
step |
Logical determining whether to do stepwise model selection or not |
... |
further arguments to be passed to enmtools.glm |
Value
A list containing GLMs for the groups separately and together, as well as AIC values for those models.