Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-021-01393-4, published online 1 March 2021.

In the version of this Article originally published, in the Data and Code availability statements the link to the data and code was incorrect as https://doi.org/10.25903/5beb6e4173f88; it should have been https://doi.org/10.25903/cemc-3512. This has now been corrected.