I need to generate a vector of the following format using R:
1:10, 1:10, 11:20, 11:20, ... 121:130, 121:130
Is there an easier way than cre
A method using split is
split
unlist(rep(split(seq_len(130), rep(1:13, each=10)), each=2), use.names=FALSE)