latrendCV function

Cluster longitudinal data over k folds