View source: R/restrict_action.R
restrict_action | R Documentation |
restrict_actions
restricts some actions of an extensive-
form game defined by extensive_form()
.
restrict_action(game, action)
game |
An "extensive_form" class object created by
|
action |
A named list of actions that can be chosen by players. The names must be node names: "n1", "n2", etc. A player can choose any action at the nodes that are not listed in this argument. |
A "restricted_game" class object in which players have to choose the actions specified by the user.
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.