randomly select another observation with same grouping factor and year value, do for every record in dataframe
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121024/f6cc6184/attachment.pl>