Learn R Programming

compositions (version 2.0-4)

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

Description

Works like ==

Usage

gsi.eq(x,y)

Value

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

Arguments

x

A numeric vector or matrix

y

A single numerical value, possibly including NaN,Inf,NA,-Inf,-0,0

Author

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

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