I have a large database of sheep with lamb id, a mother id and the year of birth for each lamb normally a sheep will have a litter every year but some years the mother has no lamb and is therefore missing from the data I want to find a way to calculate the range of years a mother is fertile attached is a small part of the database
Thanks