View source: R/visualize.enm.R
visualize.enm | R Documentation |
visualize.enm, Makes a heatmap of suitability of habitat in environment space according to a given model
visualize.enm(
model,
env,
nbins = 100,
layers = colnames(model$analysis.df)[1:2],
plot.test.data = FALSE,
plot.points = TRUE,
minmax = "env"
)
model |
An enmtools.model object |
env |
A set of environmental layers |
nbins |
The number of bins per layer to use for drawing environment space |
layers |
A vector of layer names to use for drawing environment space |
plot.test.data |
Logical determining whether test data should be plotted, if present. If test data is plotted, it will appear as translucent green triangles. |
plot.points |
Logical determining whether presence points should be plotted on suitability plot |
minmax |
Either "env", to set the minima and maxima using the environment layers, "points" to set the minima and maxima using the presence and background data, or a named list of minima and maxima for each layer. |
suit.plot A list containing two dimensional plot of an ENM in environment space and a plot of the available environments.
aurelioi.glm <- enmtools.glm(iberolacerta.clade$species$aurelioi, euro.worldclim,
f = pres ~ poly(bio1, 4) + poly(bio12, 4))
visualize.enm(aurelioi.glm, euro.worldclim, layers = c("bio1", "bio12"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.