solve_seq() finds Nash equilibrium outcomes of a
sequential-form game. This is a wrapper function of
solve_seq_matrix, solve_seq_char, and
solve_seq_fcn.
solve_seq(
game,
show_table = TRUE,
mark_br = FALSE,
cons1 = NULL,
cons2 = NULL,
cons_common = NULL,
precision = 1L,
quietly = FALSE
)A "sequential_form" class object created by seq_form().
A logical value. If TRUE, the table of the game will
be displayed. Default is TRUE.
A logical value. If TRUE, the follower's best response
to each of the leader's strategy is marked. Default is FALSE.
A named list of parameters contained in
game$payoff$payoffs1 that should be treated as constants, if any.
A named list of parameters contained in
game$payoff$payoffs2 that should be treated as constants, if any.
A named list of parameters contained in
game$payoff$payoffs1 and game$payoff$payoffs2 that should
be treated as constants, if any. If cons1 and cons2 are
exactly same, you can specify cons_common instead of specifying
both cons1 and cons2.
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.
A logical value that determines whether the equilibrium will
be kept in the returned list without being printed on screen. Default is
FALSE.
A list containing Nash equilibrium outcomes (if any), and the game table (if available).