shannon_diversity.Rd
Calculate the Shannon diversity index (H') (Shannon and Weaver, 1949) give a numbers at age vector.
shannon_diversity(naa)
numbers-at-age vector
H' = sum(naa*log(naa))