plotSpRange {epm}R Documentation

plot a single species' range

Description

Plot one species' geographic range, as encoded in the epmGrid object.

Usage

plotSpRange(
  x,
  taxon,
  taxonColor = "orange",
  basemap = "worldmap",
  lwd = 0.5,
  alpha = 1,
  use_tmap = TRUE,
  add = FALSE
)

Arguments

x

object of class epmGrid

taxon

taxon to plot

taxonColor

color for plotting taxon's range

basemap

if 'none', then only the grid is plotted. If 'worldmap', then vector map is plotted. If 'interactive', then the plotting is done via your web browser.

lwd

grid cell border width

alpha

opacity of all colors and borders, ranging from 0 (fully transparent) to 1 (fully opaque)

use_tmap

if false, use sf or terra packages for plotting

add

logical. If TRUE, adds the gridded taxon range to existing plot.

Value

nothing is returned

Author(s)

Pascal Title

Examples

tamiasEPM

plotSpRange(tamiasEPM, 'Tamias_speciosus', use_tmap = FALSE)


[Package epm version 1.1.2 Index]