sim.sample: Simulation of sampling from artificial communities.
Description
Simulates a sampling process from artificial communities.
Usage
sim.sample(comm, cells = 100, samples = 0)
Arguments
comm
simulated community data from function sim.spatial.
cells
number of cells to divide the simulated space into. Default is 100.
samples
number of samples (cells) to randomly extract. Default is the number of cells (the entire community).
Value
A matrix of samples x species (values are abundance per species per sample).
Details
The space will be divided in both dimensions by sqrt(cells).
Function useful for simulating sampling processes from the results of sim.spatial.
May be used as direct input to other functions (e.g. alpha, alpha.accum, beta, beta.accum) to test the behavior of multiple descriptors and estimators.