Command Reference : Function Reference : Function Reference: R
  
 
@rimax
Indices of row maximums of group.
Column indices of maximum values across series in each row of the group.
Syntax: @rimax(x)
x: group
Return: series
For each observation corresponding to a row in the group of series, identify the column containing the maximum value across the data for the row.
Examples
show @rimax(g
returns a linked series of the indices corresponding to the maximums in the rows of group g.
Cross-references
See also @rmax, @rmin, and @rimin.