Command Reference : Function Reference : Function Reference: C
  
 
@cnas
Number of NA values in each column of a matrix.
Syntax: @cnas(m)
m: matrix
Return: vector
Returns a vector containing the number of missing values in each column of the matrix m.
Examples
Let M1 be an lower triangular matrix whose elements above the main diagonal are NAs. In this case,
= @cnas(m1)
returns a column vector whose elements are the integers 0, 1, ..., .
Cross-references
See also @cobs.