More completely handle all of the potential types passed to powermean() and do explicit conversions where necessary.
Typecheck qs in calls to qD() and qDZ() and used abbreviated function definition format.
No need to export powermean - it's not a diversity measure.
Fix tests now that we're not exporting powermean!
Move richness, shannon and simpson into Compatability sub-package, and fix testing to match.
Better to use zeros() to generate empty vectors and matrices rather than a calculation which which go wrong (with NaNs or Infs).
Create general diversity() function that can produce any or all of alpha, beta or gamma community and ecosystem diversities and community weights. Rewrite ecosystem functions so they use diversity() instead of calculating weights and doing power means themselves.
Missing comma.