aswStats: Get summary statistics of current taxonomy

Description Usage Arguments Details Value Examples

View source: R/aswStats.R

Description

This function uses the ASW taxonomy table created with the function getTaxonomy() and summarizes counts of units per taxonomic level

Usage

1
2
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

Details

One logical arguments can be turned on to summarize at given taxonomic levels or to give numbers of each unit per taxonomic level

Value

returns either a data frame or list of summary statitics

Examples

1
2
aswStats()
aswStats(verbose=TRUE, Family="Rhacophoridae")

defrostR documentation built on Jan. 20, 2018, 9:01 a.m.