Command Reference : Function Reference : Function Reference: R
  
 
@rfirst
First non-missing value in rows of group.
Value of the first non-missing value in each row of the group.
Syntax: @rfirst(x)
x: group
Return: series
For each observation corresponding to a row in the group of series, find the first non-missing value in the row.
Examples
show @rfirst(g
returns a linked series of the first non-missing observations in the rows of group g.
Cross-references
See also @rlast, @rifirst, and @rilast.