sim_game_br | R Documentation |
sim_game()
simulates plays expected in a normal-form
game.
sim_game_br(
game,
n_periods,
init1 = NULL,
init2 = NULL,
omega = 0,
cons1 = NULL,
cons2 = NULL
)
game |
An object of |
n_periods |
A positive integer specifying how many times the game is played within each sample. |
init1 |
Player 1's first strategy. If not specified, a strategy is randomly selected from the player's strategy set. |
init2 |
Player 2's first strategy. If not specified, a strategy is randomly selected from the player's strategy set. |
omega |
A numeric value between 0 and 1 to control the degree of inertia
in each player's behavior. If |
cons1 |
A named list of parameters contained in
|
cons2 |
A named list of parameters contained in
|
Simulate plays expected in a normal-form game defined by
normal_form()
when each player chooses the best response to the
other player's previous move.
data.frame containing the history of the game played.
Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.