Description Usage Arguments Details Value Author(s) References Examples
This function simulates new samples based on known percentages
1 | simulat(x, pop = 10000, nsamples = 10, ssample = 300)
|
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. |
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.
Returns a matrix samples
that contains simulated samples in rows and species in columns.
Alexander Correa-Metrio, Kenneth R. Cabrera.
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.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.