Learn R Programming

SimInf (version 5.0.0)

is_wholenumber: Check if wholenumbers

Description

Check that all values are wholenumbers, see example in integer base

Usage

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

Arguments

x

Value to check

tol

Tolerance of the check

Value

logical vector