powered by
This function finds the Nash equilibrium in pure strategies of a 2-person simultaneous game.
sim_pure_nasheq(a, b)
is the row player's payoff matrix.
is the column player's payoff matrix.
List with all Nash Equilibria
# NOT RUN { a = matrix(c(-8, -10, 0, -1), nrow = 2) b = matrix(c(-8, 0, -10, -1), nrow = 2) sim_pure_nasheq(a, b) # }
Run the code above in your browser using DataLab