solve_nfg_char()
finds the pair of the best responses
of a normal-form game defined with payoff functions as character
strings by normal_form()
.
solve_nfg_char(
game,
plot = TRUE,
mark_NE = FALSE,
quietly = FALSE,
color_palette = "Set1"
)
A "normal_form" class object created by normal_form()
.
A logical value to determine whether the figure of the best
response correspondences will be displayed. Default is TRUE
.
A logical value to control if the NE (if any) will be marked
in the best response plot, which will be displayed (only displayed when
plot = TRUE
). Default is FALSE
.
A logical value to determine if 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 the pair of the best responses of two players (NE) and the plot of best response correspondences.