View source: R/marginal.plots.R
marginal.plots | R Documentation |
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)
model |
An enmtools model object |
env |
A SpatRaster object containing environmental data |
layer |
The name of the layer to plot |
standardize |
Whether to set the maximum of the response function to 1, or to instead use the raw values. |
verbose |
Controls printing of messages |
results A plot of the marginal response of the model to the environmental variable.
cyreni.glm <- enmtools.glm(iberolacerta.clade$species$cyreni,
f = pres ~ bio1 + bio12, euro.worldclim)
marginal.plots(cyreni.glm, euro.worldclim, "bio1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.