is.finite {math} | R Documentation |
is.finite and is.infinite return a vector of the same length
as x, indicating which elements are finite (not infinite and
not missing) or infinite.
is.finite(x);
A logical vector of the same length as x: dim, dimnames and names attributes are preserved.