sim_nasheq: Simultaneous Games Strategies Nash Equilibria

Description Usage Arguments Value Author(s) Examples

View source: R/Nash_Equilibrium.R

Description

This function finds the Nash equilibrium in mixed or pure strategies of a 2-person simultaneous game.

Usage

1
sim_nasheq(a, b, type = "pure")

Arguments

a

The row player's payoff matrix.

b

The column player's payoff matrix.

type

The type of equilibrium to calculate. Can be either "pure" or "mixed". Defaults to “pure“.

Value

List with all Nash Equilibria

Author(s)

Marcelo Gelati, National Institute of Pure and Applied Mathematics (IMPA) marcelogelati@gmail.com

Examples

1
2
3
4
a = matrix(c(-8, -10, 0, -1), nrow = 2)
b = matrix(c(-8, 0, -10, -1), nrow = 2)
sim_nasheq(a, b)
sim_nasheq(a, b, "mixed")

Recon documentation built on July 30, 2019, 9:03 a.m.

Related to sim_nasheq in Recon...