We consider two firms playing a repeated hotelling game, setting price and location. The Utility Function of the uniformly distributed customers is U = s - t.distance*|x-l|-p.
1 2 | make.hotelling.game(lower.bound = 0, upper.bound = 1, s = 1,
t.distance = 1, fix.location = FALSE, delta = 0.9, ...)
|
lower.bound |
Customers are uniformly distributed in the intervall [lower.bound, upper.bound] |
upper.bound |
Customers are uniformly distributed in the intervall [lower.bound, upper.bound] |
s |
Prohibitive price of customer |
t.distance |
Factor determining how much the customer loathes distance |
fix.location |
If TRUE, then the location can only be set once |
delta |
Probability of playing another round |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.