identify: Identify species in speciesRaster

identify.speciesRasterR Documentation

Identify species in speciesRaster

Description

Returns the species found in a cell that is clicked on in a plotted speciesRaster object.

Usage

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

Arguments

x

object of class speciesRaster

...

further arguments passed to identify

returnCell

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

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 numbers.

Author(s)

Pascal Title


ptitle/speciesRaster documentation built on June 11, 2022, 1:35 a.m.