Learn R Programming

OTUtable (version 1.1.2)

pielou: Pielou's Evenness

Description

Calculates Pielou's evenness for a single vector of relative abundance data

Usage

pielou(sample)

Arguments

sample

A vector of relative abundance data

Value

Returns a single value indicating the evenness of a community

Examples

Run this code
# NOT RUN {
data(otu_table)
even <- apply(otu_table, 2, pielou)

# }

Run the code above in your browser using DataLab