The zip files contains the r-package detectionfilter, which will make it possible to reproduce our results and to employ the computational methods that are presented in Roth et. al (2017). The package can be downloaded from www.github.com/TobiasRoth/detectionfilter. The package contains: a function to estimate observed meta-community data from communities that are subject to ecological and detection filtering, the analysed plant data from the Swiss biodiversity monitoring (www.biodiversitymonitoring.ch/en/home.html), the values for the three functional traits (specific leaf area, canopy height and seed mass) for the recorded species, a vignette (i.e. a documentation to an R-package) that develops the ideas behind the simulation of the meta-community, a vignette that describes the workflow to estimate the detection-corrected meta-community from observations, using the hierarchical models implemented in the r-package umarked, and a vignette that describes all the analyses conducted in this project.