View source: R/seq_extensive.R
| seq_extensive | R Documentation | 
seq_extensive transforms a seq_form game defined by
seq_form into an extensive_form game.
seq_extensive(game, ...)
game | 
 A sequential_form object created by   | 
... | 
 Other parameter used to define an extensive-form game.  | 
An object of "extensive_form" class.
Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp
extensive_form
g1 <- seq_form(
  players = c("Leader", "Follower"),
  s1 = c("R", "S", "P"),
  s2 = c("R", "S", "P"),
  payoffs1 = c(0, -1, 1, 1, 0, -1, -1, 1, 0),
  payoffs2 = c(0, 1, -1, -1, 0, 1, 1, -1, 0))
g1e <- seq_extensive(g1)
g1e2 <- seq_extensive(g1, direction = "right", color_palette = "Accent")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.