powered by
Plots phase diagram of a game with two players and two strategies.
phaseDiagram2S( A, dynamic, params = NULL, vectorField = TRUE, strategies = c("1", "2") )
None.
Numeric matrix of size 2x2 representing the number of strategies of a symmetric matrix game.
Function representing an evolutionary dynamic.
Numeric vector representing additional parameters for the evolutionary dynamic.
Logical value that handles vector field presentation. If set to TRUE, vector field will be shown, otherwise not. Default is TRUE.
TRUE
String vector of length 2 that names all strategies.
Daniel Gebele dngebele@gmail.com
A <- matrix(c(-1, 4, 0, 2), 2, 2, byrow=TRUE) phaseDiagram2S(A, Replicator, strategies = c("Hawk", "Dove"))
Run the code above in your browser using DataLab