evalplot.grps {ENMeval}R Documentation

Partition group plots

Description

Plot occurrence partition groups over an environmental predictor raster.

Usage

evalplot.grps(
  e = NULL,
  envs,
  pts = NULL,
  pts.grp = NULL,
  ref.data = "occs",
  pts.size = 1.5,
  return.tbl = FALSE
)

Arguments

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

Details

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.


[Package ENMeval version 2.0.1 Index]