ambi: AZTI Marine Biotic Index (AMBI)

View source: R/indicators.R

ambiR Documentation

AZTI Marine Biotic Index (AMBI)

Description

AZTI Marine Biotic Index (AMBI) according to Borja et al. (2000)

Usage

ambi(.data = NULL, taxon, count, group = NULL)

ambi_(.data = NULL, taxon, count, group = NULL)

has_ambi(.data = NULL, taxon, group = NULL)

has_ambi_(.data = NULL, taxon, group = NULL)

Arguments

.data

data in a data.frame, tibble, data.table, database etc.

taxon

species names

count

counts of individuals (numeric)

group

sensitivity groups I, II, III, IV, or V

Details

The index is given by:

c_\mathrm{b} = \frac{3}{2} ∑_{i=2}^5 (i-1) p_i

where p_i is the proportion of species in sensitivity group i.

Value

numeric vector of length 1 containing the AMBI

Functions

  • ambi_(): version suitable for calling from a function (see package lazyeval).

  • has_ambi(): tests if an AMBI sensitivity group is available for taxon (returns TRUE (available) or FALSE (unavailable))

  • has_ambi_(): version suitable for calling from a function (see package lazyeval).

References

Borja, A., J. Franco and V. Perez, 2000. A Marine Biotic Index to Establish the Ecological Quality of Soft-Bottom Benthos Within European Estuarine and Coastal Environments. Marine Pollution Bulletin 40:1100-1114

Examples

 ambi(
     taxon = c("Euspira pulchella", "Nephtys cirrosa"), 
     count = c(4, 6)
 )
 
     data(oosterschelde)
     has_ambi(oosterschelde, TAXON)
 

benthos documentation built on Aug. 22, 2022, 5:07 p.m.