50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

uGMAR (version 3.6.0)

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.