Command Reference : Function Reference : Function Reference: C
  
 
@cilast
Index of the last non-missing value in each column of a matrix.
Syntax: @cilast(m)
m: matrix
Return: vector
Returns a vector containing the index (i.e, row number) of the last non-missing value of each column of the matrix m.
Examples
Let M2 be an upper triangular matrix whose elements below the main diagonal are NAs. In this case,
= @cilast(m2)
returns a column vector whose elements are the integers 1, 2, ..., .
Cross-references
See also @cfirst, @clast, and @cifirst.
See also @first, @last, @ifirst, and @ilast.