caret-based data train-test data partition function compatible with mlr3

dataPartition(x, perc, subjectIDs = NULL)

Arguments

x

target vector to split to train test

perc

percentage ( 0 to 1 ) to place in training partition

subjectIDs

unique IDs per subject; aids with repeated measurement data by ensuring subjects exist in uniquely in either train or test

Value

vector of strings

Author

Avants BB