View source: R/get_taxa_richness.R
| get_taxa_richness | R Documentation | 
This function calculates the absolute richness of a taxon or of a set taxa at the taxonomic level provided by the user.
get_taxa_richness(x, taxa = NULL, tax_lev = NULL)
x | 
 Result of   | 
taxa | 
 A taxon or a vector of taxa.  | 
tax_lev | 
 Taxonomic level at which richness has to be calculated. It could be also a vector of taxonomic levels.  | 
aggregate_taxa get_taxa_abundance
data(macro_ex)
data_bio <- as_biomonitor(macro_ex)
data_agr <- aggregate_taxa(data_bio)
get_taxa_richness(data_agr, taxa = "Ephemeroptera", tax_lev = "Family")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.