Description Usage Arguments Value
View source: R/Network_Mvmt_Functions.R
Simulate location of school-aged children depending on agent characteristics, NPIs, and time of day
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
)
|
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 |
location of this individual in the time step with options being the id corresponding to their home (H), work (W), or community (C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.