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 isInf isNaN isNumber

Quantlet: countNotNumber
Description: Counts how many elements of an array are missing values, infinity or -infinity (NaN,Inf or -Inf).

Usage: y = countNotNumber (x)
Input:
x array
Output:
n amount of non numbers (between 0 and prod(dim(x)))

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

Result:
Contents of n
[1,]     3



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