Description Usage Arguments Value Examples
This function simulates fitness effects under a model in which the fitness distribution of mutations is normally distributed
1 | rma_normal(n, a, Va, Ve, Ut)
|
n |
numeric, number of lines to simulate |
a |
numeric, mean fitness of mutations |
Va |
numeric, variance in fitness of mutations |
Ve |
numeric, envrionmental variance |
Ut |
numeric, expected number of mutations over the length of the experiment |
numeric, a vector of fitnesses
1 2 3 4 | set.seed(123)
w <- rma_normal(20, 0.1, 0.01, 0.01, 1)
dma_normal(w, 0.1, 0.01,0.01, 1)
dma_normal(w, 0.1, 0.01,0.01, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.