gt_folk: Folk Theorem Illustration

Description Usage Arguments Examples

View source: R/gt_folkmm.R

Description

Graphs the individually rational and feasible outcomes that can be sustained as equilibria of a two person game

Usage

1
2
3
gt_folk(X, Y = t(X), fine = 100, feasible = TRUE, rational = TRUE,
  pointsize = 1, colf = "grey", colr = rgb(1, 0.1, 0, 0.5), main = "",
  mainsize = 1, ...)

Arguments

X

Payoff matrix for player 1. Defaults to coordination.

Y

Payoff matrix for player 2. Defaults to coordination.

Examples

1
2
3
4
5
X = matrix(c(2,3,0,1),2)
gt_folk(X)
X = matrix(  c(2,0,0,0,1,0,0,0,5),3)
Y = t(matrix(c(1,2,1,2,1,1,1,3,1),3))
gt_folk(X,Y)

macartan/hop documentation built on Jan. 4, 2022, 9:21 p.m.