Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gsieq

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

Examples

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

compositions

Compositional Data Analysis

v2.0-1
GPL (>= 2)
Authors
K. Gerald van den Boogaart <boogaart@hzdr.de>, Raimon Tolosana-Delgado, Matevz Bren
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.