Learn R Programming

epm (version 1.1.5)

identify.epmGrid: 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 epmGrid
identify(x, returnCell = FALSE, ...)

Value

A vector of species names or cell indices.

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

Author

Pascal Title

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.