Code used for the article:
- Estévez, J. L., Wittek, R., Giardini, F., Ellwardt, L. & Krause, R. W. (2022) 'Workplace gossip and the evolution of friendship relations: The role of complex contagion'. Social Network Analysis and Mining, 12: 113. https://doi.org/10.1007/s13278-022-00923-7.
R (code was last run with R version 4.1.2 in RStudio 2021.09.0)
- RSiena (1.3.0.1)
- tidyverse (1.3.1)
- ggplot2 (3.3.5)
- sna (2.6)
- igraph (1.2.10)
- plot3D (1.4)
- ggpubr (0.4.0)
- lmtest (0.9-39)
- sandwich (3.0-1)
- 1_Data_tidying_new.R
- 2_Descriptive_analysis_new.R
- 3.1_Additions_during_review.R
- 3_SAOM_analysis_new.R
- 4_SAOM_all_units_together.R (not included in the paper)
- 4_SAOM_multigroup.R
- 5_Theoretical_plot.R