sac_location: Simulate school-aged children location

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
sac_location(
  inf.state,
  scl,
  SiP,
  home_prob,
  time_day,
  day_week,
  age,
  sociality,
  res_id,
  scl_id,
  comm_id
)

Arguments

inf.state

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

scl

schools closed? 1/0

SiP

shelter in place active? 1/0

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

sociality

agent sociality

res_id

id of this individual's residence

scl_id

id of this individual's school

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), school (S), or community (C)


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