# NOT RUN {
library(CoopGame)
dictatorGame(n=3,dictator=2)
# }
# NOT RUN {
library(CoopGame)
dictatorGame(n=4,dictator=2)
#Output:
#$n
#[1] 4
#$dictator
#[1] 2
#$v
#[1] 0 1 0 0 1 0 0 1 1 0 1 1 0 1 1
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab