shannonbio: Computes Shannon's and equitability indices from a data frame...

shannonbioR Documentation

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)

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,...)

Value

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

See Also

shannon, difshannonbio

Examples


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


pgirmess documentation built on May 29, 2024, 4:26 a.m.