Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将我的数据框转换为列表
g<- c( 1, 1, 1, 2, 2, 2, 3, 3, 4, 4) d<- c (10, 20, 10,10,52,45,45,50,65,58) mydata <- data.frame (cbind (g, d), colnames = c("g", "d"))
我试过split()了,但没有用!
split()