plotFixationTimeSelection | R Documentation |
This function plots the fixation time curves for a given probability vector and different selection coefficients
plotFixationTimeSelection( N = 100, alphas = c(0, 3, 7, 15, 30), p = seq(0.01, 1 - 0.01, by = 0.01), type = "both" )
N |
Number of alleles in the considered population (population size) |
alphas |
Vector of selection coefficients |
p |
Vector or initial probabilities (values between 0 and 1) |
type |
Fixation type: both (fixation to zero and one) or one |
Plot of the time to fixation curve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.