powered by
Coalition value for a cardinality game: For further information see cardinalityGame
cardinalityGameValue(S)
numeric vector with coalition of players
The return value is the cardinality, i.e. the number of elements, of coalition S
# NOT RUN { library(CoopGame) S=c(1,2,4,5) cardinalityGameValue(S) # }
Run the code above in your browser using DataLab