update_agents4 | R Documentation |
Micro-simulation Updater
update_agents4(sD, yeartime, agents_in, social_network)
sD |
scenario dataframe |
yeartime |
decimal time |
agents_in |
input agent dataframe |
social_network |
artifical social network |
The workhorse ABM function.Within a scenario, does a single month update of the agent characteristics. A random sample of agents evaluates their economic and social utilities. If these exceed their individual threshold and EV is adopted.
new agent dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.