No matches were found for subject:"\[R\] extracting the last row of each group in a data frame"