shannon: Shannon Wiener Diversity Index

Description Usage Arguments Value

Description

Shannon Wiener Diversity Index

Usage

1
shannon(taxa.wide)

Arguments

taxa.wide

Taxonomic counts aggregated at the specific taxonomic classification (e.g., Order, Family, or Genus) in a wide data format. Use the wide function to prepare the data.

Value

Shannon Wiener Diversity Index: -sum(p * ln(p)) where: p = the propotion a specific taxon composes of a sample

Shannon Wiener diversity is calculated using the vegan package function diversity with the index set to "shannon".


zsmith27/Benthos documentation built on May 5, 2019, 2:38 a.m.