In the following R code, I split a data.frame by a column, a string variable called study.name.
But split alphabetically re-orders the original data.frame. In BASE R, is it possible to keep the original order of data after splitting?
D <- read.csv("https://raw.githubusercontent.com/izeh/i/master/k.csv", h = T) # data.frame
m <- split(D, D$study.name)