powered by
Checks whether all the elements of the vector are finite.
tgs_finite(x)
'TRUE' if all the elements of 'x' are finite, otherwise 'FALSE'.
numeric or integer vector or matrix
'tgs_finite' returns 'TRUE' if all the elements of 'x' are finite numbers. (See: 'is.finite'.)
tgs_finite(1:10) tgs_finite(c(1:10, NaN)) tgs_finite(c(1:10, Inf))
Run the code above in your browser using DataLab