Code for generating equilibrium genotype frequency values, and checking the analytical relatedness expression with simulation - Scott, T.W. (NERC EDS Environmental Information Data Centre, 2023)