Index of the first non-missing value in the data object.
Syntax: @ifirst(m)
m: data object
Return: scalar
Returns a scalar containing the index of the first non-missing value of the data object.The series version uses the current workfile sample.
Examples
Let V be a vector of length 4 whose elements are NA, NA, 4.2, and 1.7. Then
= @ifirst(v)
returns 3.
Cross-references
See also
@first,
@last, and
@ilast.