Learn R Programming

GLDEX (version 2.0.0.9.3)

is.notinf: 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)

Value

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

Arguments

x

A numerical value or a vector of data.

Author

Steve Su

See Also

is.na,is.inf

Examples

Run this code
is.notinf(c(Inf,2,2,1,-Inf))

Run the code above in your browser using DataLab