update_agents4: update_agents4

View source: R/technology.R

update_agents4R Documentation

update_agents4

Description

Micro-simulation Updater

Usage

update_agents4(sD, yeartime, agents_in, social_network)

Arguments

sD

scenario dataframe

yeartime

decimal time

agents_in

input agent dataframe

social_network

artifical social network

Details

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.

Value

new agent dataframe


Phalacrocorax-gaimardi/phevmicrosimr documentation built on June 8, 2022, 3:27 p.m.