R package to model seed production