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