The Code is provided below:
df is my data set 128 x 5000
test_random <- df[, sample(ncol(df), 32)]
training_random <- df[-test_random, ]
Error message :
Error in df[test_random, ] :
only 0's may be mixed with negative subscripts
Any thoughts on how to display the training_random subset?