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

Description

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

Usage

1
resamp.3i(obj)

Arguments

obj

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

Details

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

Value

A shuffled dataset

Author(s)

Jonathan Eastman

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

1
2
3
4
5
6
data(sp.example)
attach(sp.example)
spl

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.