View source: R/determine_coalitions.R
Determine possible coalitions based on agenda setter, veto players and normal voters.
The agenda setter and veto players must always be part of the coalition.
determine_voters
determines how many voters, apart from agenda setter and veto players, are required to form a majority coalition.
determine_coalitions
lists all possible combinations of normal voters to join such coalition.
1 2 3 | determine_voters(as, veto, normal)
determine_coalitions(normal, more_voters)
|
as |
Agenda Setter Index. |
veto |
Veto Player Index. |
normal |
Normal Voter Index. |
more_voters |
Number of required normal voters to form majority, as determined by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.