R: Quantifies the moments of the community trait distribution...
com.trait.weighted | R Documentation |
Quantifies the moments of the community trait distribution weighted by abundance
Description
Quantifies the moments of the community trait distribution weighted by abundance
Usage
com.trait.weighted(my.sample, traits)
Arguments
my.sample |
A community data matrix.
|
traits |
A trait file with species names as row names and trait as columns.
|
Details
Quantifies the moments of the community trait distribution weighted by abundance
Value
com.weighted.mean The abundance weighted mean trait value in the community.
com.weighted.sd The abundance weighted standard deviation of trait values in the community.
Author(s)
Nathan G. Swenson
References
Swenson, N.G. 2014. Functional and Phylogenetic Ecology in R. Springer UseR! Series, Springer, New York, New York, U.S.A.
See Also
com.trait.moments
Examples
data(lefse.sample)
data(lefse.traits)
com.trait.weighted(lefse.sample, lefse.traits)
Results
|