split_data {structToolbox} | R Documentation |
Splits the data into a training and test set.
split_data(p_train, ...)
p_train |
The proportion of samples in the training set. |
... |
additional slots and values passed to struct_class |
struct object
M = split_data(p_train=0.75)