fixation_time_approx | R Documentation |
This function computes the time to fixation for a given initial probability and fixed selection coefficient alpha using a Taylor expansion
fixation_time_approx(N, alpha, p, k = 100, type = "2")
N |
Number of alleles in the considered population (population size) |
alpha |
Selection coefficient |
p |
Vector or initial probabilities (values between 0 and 1) |
k |
number of elements in the Taylor expansion |
type |
Type of approximation to use (1 or 2) |
the time to fixation using an approximation by Taylor expansion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.