On Sun, Aug 23, 2009 at 8:53 PM, Bogaso<bogaso.christo...@gmail.com> wrote:
> No no, I actually want following result : > > 7, 14, 21, 6, 13, 20, 5, 12, 19,............ How about this? x = c() for (i in 7:1) x = c(x,mat[i,]) Guess that would do the trick. Best, Michael -- Michael Knudsen micknud...@gmail.com http://lifeofknudsen.blogspot.com/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.