Learn R Programming

purgeR (version 1.8.2)

check_bool: Check if a variable is boolean or not

Description

Can be used to test arguments that need to be of logical (boolean) type

Usage

check_bool(variable)

Value

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

Arguments

variable

Variable to test