# NOT RUN {
library(CoopGame)
divideTheDollarGame(n=3)
# }
# NOT RUN {
#Example with four players
library(CoopGame)
(vv<-divideTheDollarGame(n=4))
#$n
#[1] 4
#$v
#[1] 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab