Abstract
The R code (Hesse_etal.R) descibes step by step how metal polution affects the ecology and evolution of a community-wide public good – the production of metal-detoxifying siderophores. This code accompanies the manuscript "Interspecific interactions shape public goods production in natural microbial communities" (https://www.biorxiv.org/content/10.1101/710715v1)