Correction to: Nature Communications https://doi.org/10.1038/s41467-023-42136-2, published online 19 October 2023

The original version of this Article contained an error in Ref. 66, which was incorrectly given as: ‘Urgoiti Otazua, J. et al. No complementarity no gain—net diversity effects on tree productivity occur once complementarity emerges during early stand development. Ecol. Lett. 25, 851–862 (2022)’. The correct Ref. 66 is: ‘Lai, J., Zou, Y., Zhang, S., Zhang, X. & Mao, L. glmm.hp: an R package for computing individual effect of predictors in generalized linear mixed models. J. Plant Ecol. 15, 1302–1307 (2022).’. This has been corrected in the PDF and HTML versions of the Article.