slicer function

Split Longitudinal and Survival Data into Subject-level Samples