is_whole_number {hmmTMB}R Documentation

Check if number of whole number

Description

Check if number of whole number

Usage

is_whole_number(x, tol = 1e-10)

Arguments

x

number to check or vector of numbers

tol

how far away from whole number is ok?

Value

TRUE if it is a whole number within tolerance


[Package hmmTMB version 1.0.2 Index]