randomizeSample {picante} | R Documentation |
Various null models for randomizing community data matrices
randomizeSample(samp, null.model = c("frequency", "richness", "independentswap", "trialswap"), iterations = 1000)
samp |
Community data matrix |
null.model |
Null model
|
iterations |
Number of independent or trial-swaps to perform |
Randomized community data matrix
Steve Kembel <skembel@berkeley.edu>
Gotelli, N.J. 2000. Null model analysis of species co-occurrence patterns. Ecology 81: 2606-2621
Miklos I. & Podani J. 2004. Randomization of presence-absence matrices: Comments and new algorithms. Ecology 85: 86-92.
data(phylocom) randomizeSample(phylocom$sample, null.model="richness")