shannon: Shannon diversity index

Description Usage Arguments Details Value Author(s) References Examples

Description

Calculates the Shannon diversity index for a set of communities.

Usage

1
2
3
4
  ## S4 method for signature 'phylo4com'
shannon(x)
  ## S4 method for signature 'phylo4d'
shannon(x)

Arguments

x

A phylo4com or phylo4d object.

Details

TODO

Value

A numeric vector of length equal to the number of communities.

Author(s)

Jim Regetz (regetz@nceas.ucsb.edu)

References

TODO

Examples

1

ecoPD documentation built on May 2, 2019, 5:22 p.m.