powered by
Calculates Pielou's evenness for a single vector of relative abundance data
pielou(sample)
A vector of relative abundance data
Returns a single value indicating the evenness of a community
# NOT RUN { data(otu_table) even <- apply(otu_table, 2, pielou) # }
Run the code above in your browser using DataLab