This function simulates new samples based on known percentages
Usage
simulat(x, pop = 10000, nsamples = 10, ssample = 300)
Arguments
x
Relative frequencies of taxa in the sample of interest. It should correspond to a row in a matrix where species are in columns and samples in rows.
pop
Size of the population to be simulated.
nsamples
Number of samples to be drawn.
ssample
Sample size.
Value
Returns a matrix samples that contains simulated samples in rows and species in columns.
Details
A population of size pop and relative frequencies x is simulated, and randomly sampled to produce nsamples new samples. This procedure assumes that the percentages contained in x represent the real population.
References
Correa-Metrio, A., K.R. Cabrera, and M.B. Bush. 2010. Quantifying ecological change through discriminant analysis: a paleoecological example from the Peruvian Amazon. Journal of Vegetation Science 21: 695-704.