Helper function to sample a combination of training and testing rows, which does not risk getting the same observation twice. Need to improve this help file.
Useful links