powered by
Computes Evolutionary Stable Strategies of a game with two players and a maximum of three strategies.
ESS(A, strategies = c(), floats = TRUE)
Numeric matrix. Each row represents an ESS.
Numeric matrix of size 2x2 or 3x3 representing the number of strategies of a symmetric matrix game.
String vector of length n that names all strategies whereas n represents the number of strategies.
Logical value that handles number representation. If set to TRUE, floating-point arithmetic will be used, otherwise fractions. Default is TRUE.
TRUE
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))
Run the code above in your browser using DataLab