A factor with levels the column labels of x and values the
columns corresponding to the maximum column. If gap = TRUE a
list is returned, the second component of which is the difference
between the largest and next largest column of x.
Arguments
x
a numeric matrix.
gap
if TRUE, the difference between the largest and
next largest column is returned.