Hello, If your data.frame is named 'dat', try something like the following.
dat[order(rownames(dat)), ] Hope this helps, Rui Barradas Em 28-08-2014 08:56, Ragia Ibrahim escreveu:
Dear all, I have a data frame, where multible process and ordering done ..can I re arrange (re order ) it regarding it' s original ROW index ? how? example Xi items numrber_list_items 3 8 8, 7, 3, 4 4 2 7 7, 3, 4 0 1 10 10 1 result should be starting from row index 1 to 3. thanks in advance Ragia [[alternative HTML version deleted]] ______________________________________________ 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.
______________________________________________ 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.