ecology, modeling and r