Learn R Programming

compositions (version 1.01-1)

gsi.eq: Internal function: Checking equality of IEEE special numbers

Description

Works like ==

Usage

gsi.eq(x,y)

Arguments

x
A numeric vector or matrix
y
A single numerical value, possibly including NaN,Inf,NA,-Inf,-0,0

Value

  • A logical vector of the shape of x with TRUE exactly where the given value shows up.

Details

unlike == does not return NA's and all sorts of NA's as an actuall value.

See Also

compositions.missing

Examples

Run this code
#gsi.plain(acomp(c(12,3,4)))

Run the code above in your browser using DataLab