ESS | R Documentation |
Computes Evolutionary Stable Strategies of a game with two players and a maximum of three strategies.
ESS(A, strategies = c(), floats = TRUE)
A |
Numeric matrix of size 2x2 or 3x3 representing the number of strategies of a symmetric matrix game. |
strategies |
String vector of length n that names all strategies whereas n represents the number of strategies. |
floats |
Logical value that handles number representation. If set to
|
Numeric matrix. Each row represents an ESS.
Daniel Gebele dngebele@gmail.com
Smith, J. M. and Price, G. R. (1973) "The logic of animal conflict", Nature 246, pp. 15–18.
ESS(matrix(c(-1, 4, 0, 2), 2, byrow=TRUE), c("Hawk", "Dove"), FALSE) ESS(matrix(c(1, 2, 0, 0, 1, 2, 2, 0, 1), 3, byrow=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.