is.notinf {GLDEX}R Documentation

Returns a logical vector TRUE, if the value is not Inf or -Inf.

Description

This function works in similar fashion as in is.na and is.inf.

Usage

is.notinf(x)

Arguments

x

A numerical value or a vector of data.

Value

A logical vector, T if the value is not Inf or -Inf.

Note

In the presence of missing value, the function will return a missing value.

Author(s)

Steve Su

See Also

is.na,is.inf

Examples

is.notinf(c(Inf,2,2,1,-Inf))

[Package GLDEX version 2.0.0.9.3 Index]