asw_stats: Get summary statistics of current taxonomy

View source: R/asw_stats.R

asw_statsR Documentation

Get summary statistics of current taxonomy

Description

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

Usage

asw_stats(
  asw_taxonomy = AmphiNom::asw_taxonomy,
  verbose = F,
  Order = NA,
  Superfamily = NA,
  Family = NA,
  Subfamily = NA,
  Genus = NA
)

Arguments

asw_taxonomy

output of the function get_taxonomy() default will take AmphiNom's internally 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

asw_stats()
asw_stats(verbose=TRUE, Family="Rhacophoridae")

hcliedtke/AmphiNom documentation built on Nov. 8, 2024, 8:10 a.m.