Learn R Programming

BEQI2 (version 2.0-0)

speciesRichness: Species Richness

Description

Species richness ($S$) is defined as the number of taxa (lowest identification level possible) per sampling unit (data pool or box core sample).

Usage

speciesRichness(taxon, count)

Arguments

taxon
character vector with taxa
count
integer vector with counts

Value

species richness (integer vector of length 1)