Learn R Programming

uGMAR (version 3.1.0)

all_pos_ints: Check whether all arguments are positive scalar whole numbers

Description

all_pos_ints tells whether all the elements in a vector are strictly positive whole numbers.

Usage

all_pos_ints(x)

Arguments

x

a vector containing the elements to be tested.

Value

Returns TRUE or FALSE accordingly.