Description Usage Arguments Value
View source: R/Network_Mvmt_Functions.R
Function to determine agent's location given present model conditions. Works for agents with 3 possible locations residence/home, community and either work or school. Function passes location ids plus probability of home and community, with probability work/ school then implied
1 | scl_wrk_loc(l_res, l_com, l_scl_wrk, p_res, p_com)
|
l_res |
residence location id |
l_com |
community location id |
p_res |
probability of being at residence |
p_com |
probability of being in community |
l_scl |
work/school location id |
vector of location ids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.