randomizing a community phylogenetics matrix: '2s' of Hardy (2008)
resamp.2s is used for resampling data within a community dataset
a community dataset in spacodiR format (see
A resampling procedure for a species-by-plots matrix, where observed abundances are shuffled across species but within plots.
A shuffled dataset
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.
spacodi.by.nodes for permutation tests of community diversity and additional randomization methods;
spacodi.calc for the main underlying function;
1 2 3 4 5 6