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"
)
A "normal_form" class object created by normal_form()
.
A logical value. If TRUE
, mixed-strategy NE will be
searched. Default is FALSE
.
A logical value. If TRUE
, the payoff matrix of the
game will be displayed. Default is TRUE
.
A logical value. If TRUE
, the best response to each of
the opponent's strategy is marked. Default is TRUE
.
A logical value that determines whether the equilibrium will
be kept in the returned list without being printed on screen. Default is
FALSE
.
A color palette to be used. Default is "Set1"
.
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.