aswStats: Get summary statistics of current taxonomy
Description
This function uses the ASW taxonomy table created with the function getTaxonomy() and summarizes counts of units per taxonomic level
Usage
aswStats(asw_taxonomy = defrostR::asw_taxonomy, verbose = F, Order = NA,
Superfamily = NA, Family = NA, Subfamily = NA, Genus = NA)
Arguments
asw_taxonomy
output of the function frostScraper() default will take defrostR's stored version, which might be outdated
verbose
logical arguments can be turned on to summarize at given taxonomic levels or to give numbers of each unit per taxonomic level. default is switched off (FALSE)
Order
string to specify summary statistics of only a specific order
Superfamily
string to specify summary statistics of only a specific superfamily
Family
string to specify summary statistics of only a specific Family
Subfamily
string to specify summary statistics of only a specific subfamily
Genus
string to specify summary statistics of only a specific genus
Value
returns either a data frame or list of summary statitics
Details
One logical arguments can be turned on to summarize at given taxonomic levels or to give numbers of each unit per taxonomic level
Examples
Run this code# NOT RUN {
aswStats()
aswStats(verbose=TRUE, Family="Rhacophoridae")
# }
Run the code above in your browser using DataLab