gams for reproduction rate

slight modificatons of macrounit_plots function