dot-isPosInt: Check whether a number is a positive integer

.isPosIntR Documentation

Check whether a number is a positive integer

Description

Check whether a number is a positive integer

Usage

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

Arguments

x

Numeric number to test

tol

Numeric tolerance of detection

Value

A logical value: whether the number is a positive integer.


microbiome/miaSim documentation built on Oct. 25, 2024, 7:16 p.m.