Learn R Programming

uGMAR (version 3.5.2)

all_pos_ints: Check whether all arguments are strictly 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)

Value

Returns TRUE or FALSE accordingly.

Arguments

x

a vector containing the elements to be tested.