resample_permutation function

Create a resampled permutation of a data frame