On 24-05-2013, at 12:24, eliza botto <eliza_bo...@hotmail.com> wrote:
> Dear useRs,If i have a matrix, say, 12 rows and 6 columns. The columns are > continuous. I want to find the index of maximum values and the actual > maximum values. The maximum values in each column are the highest values and > the values greater than or equal to 80% of the maximum value. Moreover, if a > column has more than one maximum values than these values should come > immediately next to each other. For example, if you column 1 has a highest > value in 6th row then the second maximum values cant be in row 5 or 7. And as > the columns are continuous therefore, if maximum value is in row 12th, then > the second maximum cant be in row 11 and 1.Thankyou very much indeed in > advance Incomprehensible. What is a continuous column? Please give an example input matrix and and the result you want. Berend > Elisa > [[alternative HTML version deleted]] > Please post in plain text. ______________________________________________ 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.