No matches were found for subject:"\[R\] randomly select another observation with same grouping factor and year value, do for every record in dataframe"