# Single split (80% training, 20% test)
data(X_proteomic, Y_proteomic)
lst <- getTrainTest(X_proteomic, Y_proteomic, p = 0.8)
# Repeated splits (3x)
lst_repeats <- getTrainTest(X_proteomic, Y_proteomic, p = 0.7, times = 3)
Run the code above in your browser using DataLab