Description Usage Arguments Value Author(s) Examples
Perform CWR simulation, estimate paramters using SADISA, re-simulate neutral communities to generate distribution of likelihoods
1 2 | loglikCWR(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 a .pdf plot for each CWR simulation performed, showing the distribution of likelihoods
Timo van Eldijk
1 | loglikCWR(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.