divideTheDollarGameVector {CoopGame} | R Documentation |
Compute game vector for a divide-the-dollar game
Description
Game vector for a divide-the-dollar game:
For further information see divideTheDollarGame
Usage
divideTheDollarGameVector(n)
Arguments
n |
represents the number of players |
Value
Game vector for the specified divide-the-dollar game
Author(s)
Jochen Staudacher jochen.staudacher@hs-kempten.de
Johannes Anwander anwander.johannes@gmail.com
References
Jackson M.O. (2008) Social and Economic Networks, Princeton University Press, p. 413
Examples
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
[Package CoopGame version 0.2.2 Index]