worker_location: Simulate worker locations

Description Usage Arguments Value

View source: R/Network_Mvmt_Functions.R

Description

Simulate location of school-aged children depending on agent characteristics, NPIs, and time of day

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
worker_location(
  inf.state,
  SiP,
  home_prob,
  time_day,
  day_week,
  age,
  essential,
  sociality,
  res_id,
  work_id,
  comm_id
)

Arguments

inf.state

Infection state, one of S, E, Ip, Ia, Im, Imh, Ih, R

SiP

shelter in place active? 1/0

home_prob

probability agent in ct is at home from safegraph metrics

time_day

time of day (night or day)

day_week

day of the week (U, M, T, W, R, F, or S)

age

age of person

essential

is the individual in an essential workforce? 1/0

sociality

agent sociality

res_id

id of this individual's residence

work_id

id of this individual's workplace

comm_id

id of this individual's community

Value

location of this individual in the time step with options being the id corresponding to their home (H), work (W), or community (C)


cmhoove14/LEMMAABMv4 documentation built on Nov. 1, 2021, 10:23 p.m.