This repository contains the refactored code for the "Networks Decide for Us" project.
The goal is to refactor the project to use a modified version of the netdiffuseR package (which supports stochastic transmission).
netdiffuseR(stochastic-transmission branch):devtools::install_github("USCCANA/netdiffuseR", ref = "stochastic-transmission")
- Update simulation scripts (
04_*.R) to userdiffnet(..., exposure.mode = "stochastic"). - Update "Rational" agents logic: set threshold to
$\epsilon$ (approx 0).