Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: countNaN countNotNumber isInf isNumber

Quantlet: isNaN
Description: Determines whether elements of an array are missing values (NaN).

Usage: y = isNaN (x)
Input:
x array
Output:
y array with 1 (true, is NaN) or 0 (false)

Example:
library("xplore")
x = #(0/0, 1/0, -1/0, 1)
x ~ isNaN(x)

Result:
Contents of _tmp
[1,]   NaN     1
[2,]   Inf     0
[3,]  -Inf     0
[4,]     1     0



Author: T. Koetter, 19960423 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006