# NOT RUN {
library(CoopGame)
isConvexGame(c(0,0,0,1,1,1,5))
# }
# NOT RUN {
#Example of a convex game with three players
library(CoopGame)
v=c(0,0,0,1,2,1,4)
isConvexGame(v)
#Example of a nonconvex game
library(CoopGame)
v=c(1:7)
isConvexGame(v)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab