is.inf: Check IEEE Arithmetic Values

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Returns a logical vector or matrix describing the type of numeric elements present. This distinguishes between infinite values, NaN's, missing values and ordinary numbers.

Usage

1
is.inf(x)

Arguments

x

numeric vector of values. Check performs for all values.

Details

These functions are created for compatibility with SPLUS.

Value

Returns an object similar to the input which is filled logical values. Values will be false for vectors that are not of mode "numeric".

is.infinite is TRUE for values of x that are either plus or minus infinity.

is.inf is an abbreviation for is.infinite

Note

In nlr package this function use in eval method of nl.form to identify the computed response and predictor is right.

Author(s)

Hossein Riazoshams, 2013. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/

References

Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.

See Also

nl.form

Examples

1
2
3
aaray=c(0,3/0)
is.inf(aaray)
is.missing(aaray)

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to is.inf in nlr...