Finding row index containing maximum value using R December 14, 2022 by Tarik See ?which.max > which.max( matrix[,2] ) [1] 2