I have a dataframe (in R) with separate columns for month and year. for each group in the dataframe, I want to get the last 12 months in the series. It the data is missing o