Calculate the Shannon diversity index for a community.
Formula
H = -sum(pi x ln(pi))
Shannon H'
โ
Evenness
Species Richness