Learn R Programming

lefse (version 0.1)

Fsntd: Functional standard deviation of the NND

Description

Quantifies the functional standard deviation of the nearest neighbor distance with no abundance weighting

Usage

Fsntd(dist.mat, my.sample)

Arguments

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

Value

Fsntd The presence-absence weighted standard deviation of the nearest functional neighbor distance for each community

Details

Quantifies the functional standard deviation of the nearest neighbor 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

sntd.a

Examples

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

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

Run the code above in your browser using DataLab