Description Usage Arguments Value Author(s) References Examples
The mean nearest functional neighbor between each pair of communities, Dnn, is calculated with abundance weighting.
1 | new.comdistnn.prime(my.sample, my.dist.mat)
|
my.sample |
A community data matrix |
my.dist.mat |
A square trait distance matrix not a dist object |
new.comdistnn.prime The abundance weighted mean nearest functional neighbor distance between species in each of the two communities.
Nathan G. Swenson
Swenson, N.G. 2014. Functional and Phylogenetic Ecology in R. Springer UseR! Series, Springer, New York, New York, U.S.A.
1 2 3 4 | data(lefse.sample)
data(lefse.traits)
mat = as.matrix(dist(lefse.traits))
new.comdistnn.prime(lefse.sample, mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.