Dryad dataset: Code from: Evolution of phenotypic plasticity owing to migration https://datadryad.org/dataset/doi:10.5061/dryad.37pvmcvzg