View source: R/kimura-distribution.R
| pkimura | R Documentation |
Estimate the Kimura(p, b) cumulative distribution function.
pkimura(x, p, b)
x |
numeric vector of values in |
p |
number in |
b |
number in |
The cumulative distribution function of Kimura(p, b), evaluated
at x. Note there is a fixed probability at both extremes of the
distribution. the distribution is estimated by evaluating dkimura(p,
b) at regular intervals of length 1e-4 and applying the trapezoidal
rule.
Wonnapinij, Passorn, Patrick F. Chinnery, and David C. Samuels. "The distribution of mitochondrial DNA heteroplasmy due to random genetic drift." The American Journal of Human Genetics 83.5 (2008): 582-593.
pkimura(c(0, 0.2, 0.3), 0.3, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.