Dear Mr. Holtman and especially dear Rui, thank you VERY much.
You helped me a lot! I've just added the following: rsort <- ratios[order(ratios$vpNum),] Now the test subjects are arranged according to their vpNum. Thanks a lot again! -- View this message in context: http://r.789695.n4.nabble.com/Extracting-arithmetic-mean-for-specific-values-from-multiple-txt-files-tp4635809p4636265.html Sent from the R help mailing list archive at Nabble.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.