tgs_finite {tgstat}R Documentation

Checks whether all the elements of the vector are finite

Description

Checks whether all the elements of the vector are finite.

Usage

tgs_finite(x)

Arguments

x

numeric or integer vector or matrix

Details

'tgs_finite' returns 'TRUE' if all the elements of 'x' are finite numbers. (See: 'is.finite'.)

Value

'TRUE' if all the elements of 'x' are finite, otherwise 'FALSE'.

Examples


tgs_finite(1:10)
tgs_finite(c(1:10, NaN))
tgs_finite(c(1:10, Inf))


[Package tgstat version 2.3.27 Index]