@enisna |

Element by element non-missing value tests of data objects.

Syntax: @enisna(m)

m: numeric or alphanumeric object

Return: vector or matrix object

Returns a test for whether the elements in the data object m are numeric non-missing values, or non-empty strings.

Each element of the returned matrix is equal to 1 or 0 depending on the outcome of the comparison. Non-missing values are set to 1, and missing are set to 0.

Examples

Let X be an matrix. Then

= @enisna(X)

returns an binary matrix indicating places where X is not missing.

Cross-references