Learn R Programming

lefse (version 0.1)

Fmpd: Functional MPD no with abundance

Description

Quantifies the functional mean pairwise distance with no abundance weighting

Usage

Fmpd(dist.mat, my.sample)

Arguments

dist.mat
A trait distance matrix.
my.sample
A community data matrix.

Value

Fntda.a The presence-absence weighted mean pairwise distance for each community

Details

Quantifies the functional mean pairwise distance without abundance weighting

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.a

Examples

Run this code
data(lefse.sample)
data(lefse.traits)

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

Run the code above in your browser using DataLab