make group sampling return value a nested list (by covariate factors) of lists (by factor level) of vectors (of sample numbers)
make group sampling return value a nested list (by covariate factors) of lists (by factor level) of vectors (of sample numbers)

bartongroup/RATS