Please check the Readme.docx for codes explanations and approach used in this study.
Reproducible codes for the study:
Dijoux, S. and Boukal, D.S. (2021), Community structure and collapses in multichannel food webs: Role of consumer body sizes and mesohabitat productivities. Ecology Letters, 24: 1607-1618.
Published version on Ecology Letters: https://doi.org/10.1111/ele.13772
Preprint version on Authorea