subgames: Find subgames of an extensive-form game

View source: R/subgames.R

subgamesR Documentation

Find subgames of an extensive-form game

Description

subgames finds subgames contained in an extensive-form game.

Usage

subgames(game, quietly = FALSE)

Arguments

game

An extensive-form game defined by extensive_form().

quietly

If TRUE, a message telling how many subgames are found will not be displaed.

Details

This function finds subgames of an extensive-form game defined by extensive_form() and returns the list of subgames. The node IDs of each subgame displayed with the game tree are taken from the original extensive-form game. In other words, the node ID of a subgame in the tree does not necessarily begins with 1.

Value

A list of subgames.

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.