Description Usage Arguments Value Author(s) Examples
Gets the number of players from a game vector
1 |
v |
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players |
Number of players in the game (specified by game vector v)
Michael Maerz
Jochen Staudacher jochen.staudacher@hs-kempten.de
1 2 3 | library(CoopGame)
maschlerGame=c(0,0,0,60,60,60,72)
getNumberOfPlayers(maschlerGame)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.