powered by
Supported are atomic types (see is.atomic), lists and data frames.
is.atomic
anyInfinite(x)
[logical(1)] Returns TRUE if any element is -Inf or Inf.
logical(1)
TRUE
-Inf
Inf
[ANY] Object to check.
ANY
anyInfinite(1:10) anyInfinite(c(1:10, Inf)) iris[3, 3] = Inf anyInfinite(iris)
Run the code above in your browser using DataLab