Supplementary Information 2 from Indirectly connected: simple social differences can explain the causes and apparent consequences of complex social network positions

Supplementary R code