evalplot.grps | R Documentation |
Plot occurrence partition groups over an environmental predictor raster.
evalplot.grps( e = NULL, envs, pts = NULL, pts.grp = NULL, ref.data = "occs", pts.size = 1.5, return.tbl = FALSE )
e |
ENMevaluation object |
envs |
RasterStack: environmental predictor variable used to build the models in "e" |
pts |
matrix / data frame: coordinates for occurrence or background data |
pts.grp |
numeric vector: partition groups corresponding to data in "pts" |
ref.data |
character: plot occurrences ("occs") or background ("bg"), with default "occs" |
pts.size |
numeric: custom point size for ggplot |
return.tbl |
boolean: if TRUE, return the data frames used to make the ggplot instead of the plot itself |
This function serves as a quick way to visualize occurrence or background partitions over the extent of an environmental predictor raster. It can be run with an existing ENMevaluation object, or alternatively with occurrence or background coordinates and the corresponding partitions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.