Description Usage Arguments Value Examples
Density function of gamma dfe
1 | dma_gamma_known(obs, shape, rate, Ve, k, p_neutral, log = TRUE)
|
obs, |
numeric, observed fitnesses |
shape, |
numeric, shape of gamma distribution |
rate, |
numeric, rate of gamma distribution |
Ve, |
numeric, experimental variance |
k, |
numeric, vector of knonw mutation counts |
p_neutral |
numeric,proportion of all mutations that have no effect |
log |
logical return log-liklihood (defaults to true) |
numeric (log-) liklihood of the specfified model and data
1 2 3 4 5 | set.seed(123)
mu <- rpois(50, 10)
w <- rma_known_gamma(shape=1, rate=25, Ve=0.01, k=mu,p_neutral=0.7)
dma_gamma_known(w, shape=1, rate=25, Ve=0.01, k=mu, p_neutral=0.75)
dma_gamma_known(w, shape=1, rate=25, Ve=0.01, k=mu, p_neutral=0.65)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.