gsieq: Internal function: Checking equality of IEEE special numbers

gsi.eqR Documentation

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

Details

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

Value

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

Note

Do not use gsi.* functions directly since they are internal functions of the package

Author(s)

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

See Also

compositions.missing

Examples

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

compositions documentation built on June 22, 2024, 12:15 p.m.