Description Usage Arguments Value Author(s) Examples
Perform CWR simulation, Calculate Reny entropy (alfa=1, alfa=2), re-simulate neutral communities using SADISA parameters estimated on CWR simulation, simulation neutral communities, calculate their Reny entropy (alfa=1, alfa=2) to generate a distribution.
1 2 | renCWR(tmax, b1, d1, k1, interval, b2, d2, m12, m21, orgsimmaxcount,
totalresamp)
|
tmax |
Arbitrary units of time the simulation should be run |
b1 |
Birthrate of the mutants |
d1 |
Deathrate of the mutants |
k1 |
Carrying capacity |
interval |
After how many evenst should the population state be saved to the output matrix |
b2 |
Birthrate of the residents |
d2 |
Death rate of the residents |
m12 |
Mutation rate of mutants to residents |
m21 |
Mutation rate of residents to mutants |
orgsimmaxcount |
how many CWR simulations should be performed |
totalresamp |
how many neutral communities should be simulated for each single CWR simulation |
This function saves two .pdf plots for each CWR simulation performed, showing the Reny entropy of each CWR simulation and the distribution of Reny entorpy generated from the neutral re-simulations
Timo van Eldijk
1 | renCWR(10, 0.6, 0.1, 16000,200, 0.05,0.1, 0, 0.0005, 1,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.