Command Reference : Function Reference : Function Reference: E
  
 
@eneqna
Element by element inequality comparison of two data objects with NA handling.
Syntax: @eneqna(m1, m2)
m1: numeric or alphanumeric object
m2: numeric or alphanumeric object
Return: vector or matrix object
Returns the element by element test of inequality between two data objects. NAs and empty strings are treated as ordinary values for purposes of comparison.
Each element of the returned matrix is equal to 1 or 0 depending on whether the corresponding element in m1 is not equal to the corresponding element in m2.
Note m1 and m2 must be of identical dimensions.
Examples
Let X and Y be matrices. Then
= @eneqna(X, Y)
returns an binary matrix that indicates where X and Y do not match (on 0, 1, or NA).
Cross-references
See also @ege, @egt, @ele, and @elt.
See also @eeq, @eeqna, and @eneq.