com.trait.weighted: Quantifies the moments of the community trait distribution...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Quantifies the moments of the community trait distribution weighted by abundance

Usage

1
 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

1
2
3

NGSwenson/lefse_0.5 documentation built on May 7, 2019, 6:01 p.m.