evalplot.grps: Partition group plots

Description Usage Arguments Details

View source: R/plotting.R

Description

Plot occurrence partition groups over an environmental predictor raster.

Usage

1
2
3
4
5
6
7
8
9
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.


ENMeval documentation built on Jan. 10, 2022, 1:07 a.m.