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
)
ENMevaluation object
RasterStack: environmental predictor variable used to build the models in "e"
matrix / data frame: coordinates for occurrence or background data
numeric vector: partition groups corresponding to data in "pts"
character: plot occurrences ("occs") or background ("bg"), with default "occs"
numeric: custom point size for ggplot
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.