solve_nfg_matrix() finds Nash equilibria of a normal-form (strategic-form) game with discrete-choice strategies.

solve_nfg_matrix(
  game,
  mixed = FALSE,
  show_table = TRUE,
  mark_br = TRUE,
  quietly = FALSE,
  color_palette = "Set1"
)

Arguments

game

A "normal_form" class object created by normal_form().

mixed

A logical value. If TRUE, mixed-strategy NE will be searched. Default is FALSE.

show_table

A logical value. If TRUE, the payoff matrix of the game will be displayed. Default is TRUE.

mark_br

A logical value. If TRUE, the best response to each of the opponent's strategy is marked. Default is TRUE.

quietly

A logical value that determines whether the equilibrium will be kept in the returned list without being printed on screen. Default is FALSE.

color_palette

A color palette to be used. Default is "Set1".

Value

A list containing pure strategy Nash equilibria (NE), mixed strategy NE, a table of the payoff matrix, the plot of best response correspondences, and the list of mixed strategy NE of the subsets of strategies. Each element will be NULL if not available.

See also

Author

Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp