Learn R Programming

spacodiR (version 0.13.0115)

resamp.3i: randomizing a community phylogenetics matrix: '3i' of Hardy (2008)

Description

resamp.3i is used for resampling data within a community dataset

Usage

resamp.3i(obj)

Arguments

obj
a community dataset in spacodiR format (see as.spacodi)

Value

Details

A resampling procedure for a species-by-plots matrix, where observed abundances are shuffled within species and among plots.

References

HARDY OJ. 2008. Testing the spatial phylogenetic structure of local communities: statistical performances of different null models and test statistics on a locally neutral community. Journal of Ecology 96:914-926.

See Also

spacodi.by.nodes for permutation tests of community diversity and additional randomization methods; see spacodi.calc for the main underlying function; randomizeMatrix

Examples

Run this code
data(sp.example)
attach(sp.example)
spl

# shuffle dataset
resamp.3i(obj=spl) 

Run the code above in your browser using DataLab