Code for generating data for the weak-selection mathematical model and agent-based simulation models, for whether multiple social encounters can stabilise genetic kin recognition - Scott, T.W. (NERC EDS Environmental Information Data Centre, 2024)