detectednumspec: The number of observed species in a matrix of observation...

Description Usage Arguments Value

View source: R/expected_biodiversity.R

Description

The number of observed species in a matrix of observation recordings

Usage

1
detectednumspec(y, ModelSite)

Arguments

y

A matrix of species observations with each row a visit and each column a species. Entries must be either 0 or 1.

ModelSite

The list of ModelSite indexes corresponding to each row in y

Value

A vector of the number of species detected at each ModelSite. Names give the ModelSite index.


sustainablefarms/linking-data documentation built on Oct. 28, 2020, 2:41 a.m.