combine_taxa: combine_taxa

View source: R/combine_taxa.R

combine_taxaR Documentation

combine_taxa

Description

This function returns all the combinations of n taxa at the desired taxonomic resolution.

Usage

combine_taxa(x, ntaxa = 2, tax_lev = "Taxa")

Arguments

x

Result of aggregate_taxa().

ntaxa

Number of taxa.

tax_lev

Taxonomic level on which the calculation has to be made.

Details

This function is intended to help the user to identify the best subset of taxa that correlates with environmental variables. Metrics based on a specific group of taxa (EPT, 1-GOLD, etc) are currently used in biomonitoring. They rely on available information on the responses of the selected taxa to target stressors. The relationship between an environmental variable and a subset of taxa could exist and not detected due to the scarce availaibility of autoecological data. With more than 4 taxa the calculations should become infeasible, expecially when the number of taxa in the user dataset is high.

See Also

aggregate_taxa

Examples

data(macro_ex)
data_bio <- as_biomonitor(macro_ex)
data_agr <- aggregate_taxa(data_bio)
combine_taxa(data_agr, tax_lev = "Family")

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