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
is.inf(x)
Arguments
x
numeric vector of values. Check performs for all values.
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
Details
These functions are created for compatibility with SPLUS.
References
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.