Description Usage Arguments Value Author(s) See Also Examples
This function performs numerical analysis of a frequency dependent selection model based on Rice (2004; Evolutionary Theory: Mathematical & Conceptual Foundations). The fitnesses of the three genotypes in the model are as follows, where f(XX) denotes the frequency of the XX genotype: w(AA)=1-3*f(Aa)+3*f(aa); w(Aa)=1-s*f(Aa); and w(aa)=1-3*f(Aa)+3*f(AA). As shown in Rice (2004), though entirely deterministic, the model can exhibit chaotic behavior under some values for s.
1 |
p0 |
Starting frequency for the A allele. |
s |
Parameter that determines the strength of selection against heterozygotes when they are common. |
time |
Number of generations to run the analysis. |
show |
Various options for plotting. |
pause |
Pause between generations. |
... |
optional arguments. Presently, the only optional argument in |
The function creates one of several possible plots, depending on the value of show.
The use of cobweb plots follows selection.
The function also invisibly returns an object of class "freqdep" containing the frequency of the allele A through time, if this was calculated by the selected method. This can be printed or plotted using the corresponding methods. (See examples.)
Liam Revell liam.revell@umb.edu
1 2 3 4 |
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.