Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-022-01861-5, published online 29 September 2022.

In the version of this article initially published, there was an error in equation (12), which originally read, in part, “\(B_i = D_i{\int} {XW_i} \to\)”. The equation has been corrected to read “\(B_i = D_i \times W_i \to\)” in the HTML and PDF versions of the article.