User functions

datathin()

Takes a dataset (scalar, vector, or matrix) and returns a training set and a test set that sum to the original data matrix.