make.pd.game: Generate an iterated Prisoners Dilemma game

Description Usage Arguments

Description

Generate an iterated Prisoners Dilemma game

Usage

1
2
3
make.pd.game(uCC = 1, uCD = -1, uDC = 2, uDD = 0, digits = 2,
  err.D.prob = 0, err.C.prob = 0, private.signals = FALSE, delta = 0.9,
  ...)

Arguments

uCC

Utility in the case 'both players cooperate'. If specified in form of a vector (e.g. c(0,2)), then a random value is uniformly drawn each round and presented to the strategies.

uCD

Utility in the case 'I cooperate, but the other one doesn't'. If specified in form of a vector (e.g. c(0,2)), then a random value is uniformly drawn each round and presented to the strategies.

uDC

Utility in the case 'I defect, but the other one cooperates'. If specified in form of a vector (e.g. c(0,2)), then a random value is uniformly drawn each round and presented to the strategies.

uDD

Utility in the case 'both players defect'. If specified in form of a vector (e.g. c(0,2)), then a random value is uniformly drawn each round and presented to the strategies.

digits

If the costs are drawn from a uniform distribution: To how many digits should the draw be rounded?

err.D.prob

Probability that a cooperation is seen as a defection, i.e. the propability to erroneous see a D

err.C.prob

Probability that a defection is seen as a cooperation, i.e. the propability to erroneous see a C

private.signals

If TRUE, then every player always sees his own action as originaly intended. He can no longer see whether his action in the previous round was due to an error.

delta

Probability of playing another round


skranz/StratTourn documentation built on May 30, 2019, 2:02 a.m.