is.naturalnumber: is.naturalnumber

Description Usage Arguments

View source: R/utilities.R

Description

check if input is natural number

Usage

1
is.naturalnumber(x, tol = .Machine$double.eps^0.5)

Arguments

x

numeric number to be checked

tol

maximum accepted tolerance when checking if natural


ThreeArmedTrials documentation built on May 19, 2017, 9:10 a.m.

Search within the ThreeArmedTrials package
Search all R packages, documentation and source code