Description Usage Arguments Value Author(s) References Examples
View source: R/DivideTheDollarGame.R
Game vector for a divide-the-dollar game:
For further information see divideTheDollarGame
1 |
n |
represents the number of players |
Game vector for the specified divide-the-dollar game
Jochen Staudacher jochen.staudacher@hs-kempten.de
Johannes Anwander anwander.johannes@gmail.com
Jackson M.O. (2008) Social and Economic Networks, Princeton University Press, p. 413
1 2 3 4 5 6 7 8 | library(CoopGame)
divideTheDollarGameVector(n=3)
library(CoopGame)
(v <- divideTheDollarGameVector(n=4))
#Output:
# [1] 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.