Description Usage Arguments Value Author(s)
A function for making all agents in a dataframe compete
1 | compete_all(agent_df, p_matrix, n_rounds = 10)
|
agent_df |
A tibble (dataframe) with matched agents their parameter values and priors. Created with create_agents and/or prepare_df |
p_matrix |
A given 2-by-2 payoff matrix |
n_rounds |
number of rounds the agents compete |
A tibble (dataframe) containing the choices, rewards and states for every round, and for every competing pair
K. Enevoldsen & P. Waade
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.