Last data update: 2014.03.03

R: Functional MPD with abundance
Fmpd.aR Documentation

Functional MPD with abundance

Description

Quantifies the functional mean pairwise distance with abundance weighting

Usage

 Fmpd.a(dist.mat, my.sample) 

Arguments

dist.mat

A trait distance matrix.

my.sample

A community data matrix.

Details

Quantifies the functional mean pairwise distance with abundance weighting

Value

Fntda.a The abundance weighted mean pairwise distance for each 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

Fmpd

Examples


data(lefse.sample)
data(lefse.traits)

Fmpd.a(as.matrix(dist(lefse.traits)), lefse.sample)


Results