util_is_integer {dataquieR}R Documentation

Check for integer values

Description

This function checks if a variable is integer.

Usage

util_is_integer(x, tol = .Machine$double.eps^0.5)

Arguments

x

the object to test

tol

precision of the detection. Values deviating more than tol from their closest integer value will not be deemed integer.

Value

TRUE or FALSE

See Also

is.integer

Copied from the documentation of is.integer

is.integer detects, if the storage mode of an R-object is integer. Usually, users want to know, if the values are integer. As suggested by is.integer's documentation, is.wholenumber does so.


[Package dataquieR version 1.0.5 Index]