I have a data.frame that looks like this:
I want to build a variable that can capture the min(date1, date2, date3, date4) for each ID. What should I do?