UpdateAgentStepDataBAEA: Update the step_data object in a BAEA IBM

Description Usage Arguments Value

View source: R/model.R

Description

Creates and updates agents step data dataframes with timesteps based on starting locations of each agent and dates for the sim so that the timesteps are similar to the duty cycle of the recorded data: 15-minute time steps starting an hour before sunrise and going until an hour after sunset.

Usage

1
2
3
4
5
6
7
8
UpdateAgentStepDataBAEA(
  step_data = NULL,
  sim = sim,
  init = FALSE,
  rep_intervals = rep_intervals
)

UpdateAgentStepDataBAEA(step_data, sim, time_step_dfinit)

Arguments

step_data

= 'step data' dataframe

sim

= 'sim' object

init

= logical, whether or not this is the initation step

rep_intervals

= 'rep_intervals' object

Value

an 'step_data' dataframe


Blakemassey/baear documentation built on Dec. 25, 2021, 9:48 a.m.