1. y<-1:4
  2. data1 <-data.frame(x1=c(1,3,5,7), x2=c(2,4,6,8),x3=c(11,12,13,14),x4=c(15,16,17,18))
  3. data2<-cbind(data1[,1:2],y,data1[,3:ncol(data1)])
05-04 05:13