Description Usage Arguments Value Author(s) References
Returns the reward for a player given a payoff matrix and choices
1 | U(c_self, c_op, player, p_matrix)
|
c_self |
Player's own choice |
c_op |
Opponent's choice |
player |
Which side of the payof matrix is used. 0: first player, 1: second player |
p_matrix |
A given 2-by-2 payoff matrix |
The reward for the specified player
K. Enevoldsen & P. Waade
Devaine et al. (2014a, 2014b, 2017)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.