This repository contains all the materials needed to reproduce Roth et. al (2017): Functional ecology and imperfect detection of species. Methods in Ecology and Evolution.