make.bargaining.game: Generate a bargaining game

Description Usage Arguments

Description

Note: In a previous version there was the parameter "uniform". In this new version the same effect can be achieved by setting the upper boundary of cost.low to the same value as the lower.boundary of cost.high and setting the probability of prob.low and prob.high to 0.5 each.

Usage

1
2
make.bargaining.game(cost.low = 20, cost.high = 60, prob.low = 0.5,
  digits = 2, redraw.costs = FALSE, price = 100, delta = 0.8, ...)

Arguments

cost.low

The lower costs in the standard case. May be a single value or a vector specifiying the upper and lower bound of the lower costs (e.g. c(20,30))

cost.high

The higher costs in the standard case. May be a single value or a vector specifiying the upper and lower bound of the higher costs (e.g. c(50,60))

prob.low

The probability to draw the lower costs in the standard case. The probability of the higher case is thus 1-prob.low

digits

To how many digits should the drawn costs be rounded?

redraw.costs

If TRUE, then the costs are redrawn each round. In the standard case the costs are drawn once and are not changed from round to round

price

Paid utility in case of an agreement

delta

Probability of playing another round


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