igold: igold

View source: R/igold.R

igoldR Documentation

igold

Description

This function calculates the 1 - GOLD metric, where GOLD stands for Gastropoda, Oligochaeta and Diptera. This metric should decrease with increasing organic pollution (Pinto et al., 2004).

Usage

igold(x, traceB = FALSE)

Arguments

x

Results of aggregate_taxa().

traceB

If set to TRUE a list as specified below will be returned.

Details

The metric 1 - GOLD is calculated as 1 minus the relative abundance of Gastropoda, Oligochaeta and Diptera. If a custom database is provided (see aggregate_taxa) please be sure that Gastropoda are at Class, Oligochaeta at Sublclass and Diptera at Order level, otherwise the gold calculation will be meaningless. If this is the case please see get_taxa_abundance().

Value

If traceB is set to TRUE a list with the following elements will be returned:

  • results Results of the igold index.

  • taxa_df The data.frame used for the calculation containing the abundance of the GOLD taxa.

References

Pinto, P., Rosado, J., Morais, M., & Antunes, I. (2004). Assessment methodology for southern siliceous basins in Portugal. In Integrated Assessment of Running Waters in Europe (pp. 191-214). Springer, Dordrecht.

See Also

aggregatoR

Examples

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

alexology/biomonitoR documentation built on Oct. 10, 2024, 12:02 a.m.