wrapper function to determine the number of permutations
rep_selector_perm(data, permutations)
data
the dataset to analyse.
permutations
the number of times to be permuted per repeat