search for: xdfrow6

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

Did you mean: xdfrow1
2010 Jun 01
2
storing output data from a loop that has varying row numbers
...rows with each output. Previously I have had the same number of rows so I would use (and I appreciate that this will no doubt achieve some gasps as being thoroughly inefficient!): xdfrow<-(0) xdfrow1<-(1:32) xdfrow2<-(33:64) xdfrow3<-(65:96) xdfrow4<-(97:128) xdfrow5<-(129:160) xdfrow6<-(161:192) xdfrow7<-(193:224) and so on.... xdf <- matrix(999, nrow=1024, ncol=7) xdf <- as.data.frame(xdf) NAM <- c("NAME","ID2","DAY","BEH", "B_FALSE", "B_TRUE","TOTAL") colnames(xdf)<-NAM I then use this m...