singleSpCellIndex: Identify single-species cells

View source: R/singleSpCellIndex.R

singleSpCellIndexR Documentation

Identify single-species cells

Description

Given a speciesRaster object, return the raster cell indices of those cells that have just one species.

Usage

singleSpCellIndex(x)

Arguments

x

object of class speciesRaster

Details

This function can be useful when further analyzing speciesRaster objects generated by cellMetrics_speciesRaster, as it might make sense to exclude these single-species cells in further analyses.

Value

numeric vector of raster cell numbers.

Author(s)

Pascal Title

Examples

singleSpCellIndex(tamiasSpRas)


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