powered by
visualize.enm, Makes a heatmap of suitability of habitat in environment space according to a given model
visualize.enm( model, env, nbins = 100, layers = names(env)[1:2], plot.test.data = FALSE, plot.points = TRUE, minmax = NA )
suit.plot A list containing two dimensional plot of an ENM in environment space and a plot of the available environments.
An enmtools.model object
A set of environmental layers
The number of bins per layer to use for drawing environment space
A vector of layer names to use for drawing environment space
Logical determining whether test data should be plotted, if present. If test data is plotted, it will appear as translucent green triangles.
Logical determining whether presence points should be plotted on suitability plot
A named list of minima and maxima for each axis, in case the user wants to constrain or expand the space over which models are plotted.
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"))
Run the code above in your browser using DataLab