Description Usage Arguments Value Author(s) See Also Examples
This function performs numerical analysis of a discrete-time hawk-dove model in which "payoff" determines relative fitness in the population.
1 |
p |
Starting frequency of hawk & dove phenotypes, respectively. Should correspond with the rows of |
M |
Payoff matrix. |
time |
Number of generations. |
The function creates a two panel plot. The upper panel shows the relative frequencies of each of the two interacting phenotypes. The lower panel shows mean fitness of the population and of each morph through time.
The function also invisibly returns an object of class "hawk.dove"
containing the frequencies of each strategy through time and their fitnesses. This object can be printed or re-plotted using corresponding print
and plot
methods. (See examples.)
Liam Revell liam.revell@umb.edu
1 2 3 4 5 |
Pay-off matrix:
hawk dove
hawk 0.6 1.5
dove 0.5 1.0
Pay-off matrix:
hawk dove
hawk 0.5 1.5
dove 0.6 1.0
Object of class "hawk.dove" consisting of the results of a
numerical analysis of the so-called Hawk-Dove model in which
fitness is assumed to be proportional to the payoff from
interactions between the two alternative strategies as given
by the matrix:
hawk dove
hawk 0.5 1.5
dove 0.6 1.0
To plot enter plot('object_name') at the command line
interface.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.