is.natural: Test whether input represents a natural number

View source: R/mathematical_functions.R

is.naturalR Documentation

Test whether input represents a natural number

Description

Test whether input represents a natural number

Usage

is.natural(x)

Arguments

x

An integer, numeric, or complex vector, matrix, or array.

Value

A logical value.


DrylandEcology/rSW2utils documentation built on Dec. 9, 2023, 10:44 p.m.