identify.epmGrid {epm}R Documentation

Interactively identify species in epmGrid

Description

Plots a epmGrid object and allows you to click on the plot to return the species found in the cell you clicked on.

Usage

## S3 method for class 'epmGrid'
identify(x, returnCell = FALSE, ...)

Arguments

x

object of class epmGrid or sf

returnCell

boolean; if FALSE, then species names are returned, if TRUE, then cell indices are returned.

...

additional arguments passed to sf::plot

Details

This is a wrapper function for the identify function in base graphics. This is primarily intended as a useful function for data exploration and spot-checking.

Value

A vector of species names or cell indices.

Author(s)

Pascal Title


[Package epm version 1.1.2 Index]