This repository contains code needed to reproduce the results:
T.J. Clark, Jon Horne, Mark Hebblewhite, and Angela Luis: "Stochastic predation exposes prey to predator pits and local extinction", accepted for Oikos.
All analyses were done in R. The code to conduct the simulations is in the Code folder.
The code is released under the CC-BY-4.0.