normalGame: Normal form representation

Description Usage Arguments Value Examples

Description

Creates a normal form representation viewable as an R matrix. To make the game easier to read, each row and column of the original payoff matrices are duplicated. The payoffs of A are then in the bottom left of each 2x2 cell, and the payoffs of B are in the top right.

Usage

1
normalGame(game)

Arguments

game

An object of class "Game"

Value

A matrix with a normal form representation.

Examples

1
2
example_game <- nashGame(4,3,0,30)
normal_form <- normalGame(example_game)

Extreme-Mildness/GT.Tools documentation built on May 3, 2019, 8:31 p.m.