Learn R Programming

Recon (version 0.1.0.0)

sim_mixed_nasheq: Simultaneous Games Mixed Strategies

Description

This function finds the Nash equilibrium in mixed strategies of a 2-person simultaneous game. The function works only for 2x2 matrices,

Usage

sim_mixed_nasheq(a, b)

Arguments

a

is the row player's payoff matrix.

b

is the column player's payoff matrix.

Value

List with all Nash Equilibria

Examples

Run this code
# NOT RUN {
a = matrix(c(-8, -10, 0, -1), nrow = 2)
b = matrix(c(-8, 0, -10, -1), nrow = 2)
sim_mixed_nasheq(a, b)

# }

Run the code above in your browser using DataLab