Create a resampled permutation of a data frame
resample_permutation(data, columns, idx = NULL)
A data frame
Columns to be permuted
Indices to permute by. If not given, generates them randomly
A permutation object; use as.data.frame to convert to a permuted data frame