powered by
marginal.plots Plots the marginal response of a model to an environmental variable with all other variables held at their mean in env
marginal.plots(model, env, layer, standardize = TRUE, verbose = FALSE)
results A plot of the marginal response of the model to the environmental variable.
An enmtools model object
A SpatRaster object containing environmental data
The name of the layer to plot
Whether to set the maximum of the response function to 1, or to instead use the raw values.
Controls printing of messages
cyreni.glm <- enmtools.glm(iberolacerta.clade$species$cyreni, f = pres ~ bio1 + bio12, euro.worldclim) marginal.plots(cyreni.glm, euro.worldclim, "bio1")
Run the code above in your browser using DataLab