draw_path: Color specified paths in the game tree.

View source: R/draw_path.R

draw_pathR Documentation

Color specified paths in the game tree.

Description

draw_path colors paths corresponding to the user-specified action profiles in an extensive-form game.

Usage

draw_path(game, actions)

Arguments

game

A game defined by extensive_form().

actions

A list of actions of players.

Value

A ggplot object of the game tree.

Author(s)

Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp


yukiyanai/rgamer documentation built on June 14, 2024, 7:38 p.m.