Learn R Programming

benthos (version 2.0-0)

species_richness: 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

species_richness(taxon, count = NULL)

Value

species richness (integer vector of length 1)

Arguments

taxon

taxa names (character)

count

number of individuals for each taxon (numeric)

Examples

Run this code
 species_richness(
     taxon = c("Euspira pulchella", "Nephtys cirrosa"),
     count = c(4, 6)
 )

Run the code above in your browser using DataLab