Description Usage Arguments Value Examples
Possible coalitions with n players.
1 | coalitions(n)
|
n |
Number of players |
This function gives the coalitions in a binary mode and usual way.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | coalitions(3)
#$Binary
# P1 P2 P3
#0 0 0 0
#1 1 0 0
#2 0 1 0
#3 0 0 1
#12 1 1 0
#13 1 0 1
#23 0 1 1
#123 1 1 1
#
#$Classic
#[1] 0 1 2 3 12 13 23 123
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.