View source: R/stepwiseReversible.R
stepwiseReversible | R Documentation |
Reversible stepwise mutation model
stepwiseReversible(alleles, afreq, rate, range)
alleles |
A character vector with allele labels. |
afreq |
A numeric vector of allele frequencies. |
rate |
A numeric mutation rate. |
range |
A positive number. |
The approach of Dawid el al. (SJS, 2001) is implemented.
A reversible stepwise mutation model with expected mutation rate equal input rate.
Thore Egeland.
R = stepwiseReversible(alleles = 1:3, afreq = c(0.2, 0.3, 0.5), rate = 0.001, range = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.