Learn R Programming

uGMAR (version 3.2.6)

all_pos_ints: Check whether all arguments are stricly positive natural numbers

Description

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

Usage

all_pos_ints(x)

Arguments

x

a vector containing the elements to be tested.

Value

Returns TRUE or FALSE accordingly.