margalefs: Margalef's Index

Description Usage Arguments Value

View source: R/diversity_metrics.R

Description

Margalef's Index

Usage

1
margalefs(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

Margalef's Index: (S - 1)/ln(N) where: S = taxa richness N = the total number of individuals observed

Taxa richness is calculated using the vegan package specnumber function.


zsmith27/Benthos documentation built on June 23, 2017, 12:07 p.m.