stochasticity_is: Stochasticity by Independent Swap

Description Usage Arguments Details Value Author(s) References

View source: R/stochasticity_is.R

Description

This function calculates stochasticity based on the Jaccard dissimilarity as defined in Zhou et al. (2014) by randomizing a binary community matrix with picante's independentswap algorithm.

Usage

1
stochasticity_is(com, n.reps=999)

Arguments

com

A binary community matrix.

n.reps

Number of replications.

Details

The binary community matrix is randomized using picante's function randomizeMatrix with method="independentswap." The independent swap algorithm maintains both row and column totals.

Value

A vector of stochasticity values.

Author(s)

John Quensen

References

Zhou, J. Z., Y. Deng, P. Zhang, K. Xue, Y. T. Liang, J. D. Van Nostrand, Y. F. Yang, Z. L. He, L. Y. Wu, D. A. Stahl, T. C. Hazen, J. M. Tiedje, and A. P. Arkin. 2014. Stochasticity, succession, and environmental perturbations in a fluidic ecosystem. Proceedings of the National Academy of Sciences of the United States of America 111:E836-E845.


jfq3/QsNullModels documentation built on April 6, 2020, 2:06 p.m.