Compute trait metrics from benthic count data.
trait.stat(bcnt.otu, coefs)
Benthic count file with OTU defined consistently with selected trait file
Trait file
Data frame of trait metrics.
OTUs appropriate for the selected trait file must first be assigned
using get.otu
. A list of trait files provided in the
library can be obtained using sel.coeffile
. Script will
compute richness, relative richness, and relative abundance of each
trait group. Note that many taxa in a benthic count file are often
not assigned to traits, and so relative richness and relative
abundance values within a given sample may not sum to 1.