Description Usage Arguments Details Value Author(s) References Examples
Various null models for randomizing community data matrices
1 2 | randomizeMatrix(samp, null.model = c("frequency", "richness",
"independentswap", "trialswap"), iterations = 1000)
|
samp |
Community data matrix |
null.model |
Null model to use (see Details section for description) |
iterations |
Number of independent or trial-swaps to perform |
Currently implemented null models (arguments to null.model):
Randomize community data matrix abundances within species (maintains species occurence frequency)
Randomize community data matrix abundances within samples (maintains sample species richness)
Randomize community data matrix with the independent swap algorithm (Gotelli 2000) maintaining species occurrence frequency and sample species richness
Randomize community data matrix with the trial-swap algorithm (Miklos & Podani 2004) maintaining species occurrence frequency and sample species richness
Randomized community data matrix
Steven Kembel <steve.kembel@gmail.com>
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.
1 2 | data(phylocom)
randomizeMatrix(phylocom$sample, null.model="richness")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.