pgirmess (version 2.0.3)

shannonbio: Computes Shannon's and equitability indices from a data frame of dietary analysis (n, biomass,...)

Description

Computes Shannon's and equitability indices from a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...)

Usage

shannonbio(data1)

Value

A vector of two values: Shannon's and equitability indices

Arguments

data1

a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...)

Details

Computes Shannon's and equitability indices from a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...)

See Also

shannon, difshannonbio

Examples

Run this code

data(preybiom)
shannonbio(preybiom[,5:6])

Run the code above in your browser using DataLab