Conditional Data Selection

is.inf returns a vector of the same length as the input object, indicating which elements are infinite (not missing).

1 |

`...` |
object to be tested |

is.infinite returns a vector of the same length as x the jth element of which is TRUE if x[j] is infinite (i.e., equal to one of Inf or -Inf). This will be false unless x is numeric or complex. Complex numbers are infinite if either the real and imaginary part is.

Knut M. Wittkowski kmw@rockefeller.edu

~~objects to See Also as `is.finite`

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.