View source: R/solve_nfg_fcn.R
solve_nfg_fcn | R Documentation |
solve_nfg_fcn()
finds the pair of best responses when
payoff functions are provided as R functions.
solve_nfg_fcn(
game,
par_label = NULL,
cons1 = NULL,
cons2 = NULL,
cons_common = NULL,
precision = 1L,
plot = TRUE,
mark_NE = FALSE,
quietly = FALSE,
color_palette = "Set1"
)
game |
A "normal_form" class object created by |
par_label |
A vector of parameter labels if the user define the game with functions as characters. |
cons1 |
A named list of parameters contained in
|
cons2 |
A named list of parameters contained in
|
cons_common |
A named list of parameters contained in
|
precision |
A natural number specifying the precision of numerical approximation. The value n approximately means that the approximation is correct up to the Nth decimal place. The default value is 1. |
plot |
A logical value to determine whether the figure of the best
response correspondences will be displayed. Default is |
mark_NE |
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
|
quietly |
A logical value to determine if the equilibrium will be kept
in the returned list without being printed on screen. Default is
|
color_palette |
A color palette to be used. Default is |
A list containing the pair of the best response correspondence (NE) and the plot of best response correspondences.
Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp
normal_form
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.