Learn R Programming

epm (version 1.1.5)

spCountIndex: Identify cells that have a certain number of taxa

Description

Given a epmGrid object, return the grid cell indices of those cells that have the specified number of taxa.

Usage

spCountIndex(x, count)

Value

numeric vector of grid cell indices.

Arguments

x

object of class epmGrid

count

number of species to consider (can be a vector of integers)

Author

Pascal Title

Details

This function can be useful when further analyzing epmGrid objects generated by gridMetrics, as it might make sense to exclude certain grid cells in further analyses.

Examples

Run this code
spCountIndex(tamiasEPM, count = 1)
spCountIndex(tamiasEPM, count = 1:3)

Run the code above in your browser using DataLab