Learn R Programming

rnbp (version 0.2.2)

is_count: Checks if an object is a positive integer.

Description

Checks if an object is a positive integer.

Usage

is_count(x)

Value

TRUE or FALSE depending on whether its argument is a positive integer or not.

Arguments

x

object to be tested.