abundance | R Documentation |
Calculates taxa abundance at the desired taxonomic level. Unassigned taxa can be included or excluded from the calculation.
abundance(x, tax_lev = "Taxa", unassigned = FALSE)
x |
Result of |
tax_lev |
Taxonomic level at which the calculation has to be performed. |
unassigned |
Does unassigned taxa need to be taken into account? If yes set unassigned to |
If unassigned is set to TRUE
abundances are equal among taxonomic levels.
aggregate_taxa get_taxa_abundance
data(macro_ex)
data_bio <- as_biomonitor(macro_ex)
data_agr <- aggregate_taxa(data_bio)
abundance(data_agr, tax_lev = "Family")
abundance(data_agr, tax_lev = "Family", unassigned = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.