search for: indx3

Displaying 1 result from an estimated 1 matches for "indx3".

Did you mean: indx
2013 Sep 27
0
Best and Worst values
...om wide to long format and when you try ddply(), it will automatically arrange the data #accordingly. indx<-cbind(rep(seq_len(nrow(resFinal)),2),rep(c(5,3),each=250))? ## 5,3 represents the column numbers Predict in resFinal indx2<-c(rep(seq(1,100,by=2),each=5),rep(seq(2,100,by=2),each=5)) indx3<- indx[order(indx2),] resNew[,2]<-as.numeric(resFinal[indx3]) indx1<-cbind(rep(seq_len(nrow(resFinal)),2),rep(c(6,4),each=250)) #6,4 represent the columns Actual in resFinal indx4<- indx1[order(indx2),] resNew[,3]<-as.numeric(resFinal[indx4]) colnames(resNew)<- c("Date"...