Description Usage Arguments Value Author(s) References Examples
A random mean nearest functional neighbor between each pair of communities, Dnn, is calculated with abundance weighting.
1 | new.comdistnn.prime.null(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.null A random 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 5 | data(lefse.sample)
data(lefse.traits)
mat = as.matrix(dist(lefse.traits))
new.comdistnn.prime.null(lefse.sample, mat)
replicate(2,new.comdistnn.prime.null(lefse.sample, mat))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.