ept: ept

View source: R/ept.R

eptR Documentation

ept

Description

This function calculates the richness of Ephemeroptera, Plecotera and Trichoptera (EPT) taxa at the desired taxonomic level.

Usage

ept(x, tax_lev = "Taxa")

Arguments

x

Result of aggregate_taxa().

tax_lev

The taxonomic level for calculating EPT richness.

Details

tax_lev must be finer than Order (e.g. Species, Genus, Family ). The ept() function works if Ephemeroptera, Trichoptera and Plecoptera are set as orders in the reference database. Otherwise try with aggregate_richness().

See Also

aggregate_taxa get_taxa_richness

Examples

data(macro_ex)
data_bio <- as_biomonitor(macro_ex)
data_agr <- aggregate_taxa(data_bio)
ept(data_agr)

# ept should return the same results as the function get_taxa_richness
ept(data_agr, tax_lev = "Family")
get_taxa_richness(data_agr,
  taxa = c("Ephemeroptera", "Plecoptera", "Trichoptera"), tax_lev = "Family"
)

alexology/biomonitoR documentation built on April 7, 2024, 10:15 a.m.