Learn R Programming

purgeR (version 1.8.2)

check_int: Check if a variable is a positive integer or not

Description

Can be used to test arguments that need to be integers

Usage

check_int(variable)

Value

No return value. Will print an error message if checking fail.

Arguments

variable

Variable to test