This is the code for the paper Polarization in social media assists influencers to become more influential: analysis and two inoculation strategies which is available here:
The code is written in Julia. In case you use this code, please cite the paper:
@article{garibay2019polarization,
title={Polarization in social media assists influencers to become more influential: analysis and two inoculation strategies},
author={Garibay, Ivan and Mantzaris, Alexander V and Rajabi, Amirarsalan and Taylor, Cameron E},
journal={Scientific reports},
volume={9},
number={1},
pages={1--9},
year={2019},
publisher={Nature Publishing Group}
}