check.boolean: Check function: boolean variable

View source: R/checks.R

check.booleanR Documentation

Check function: boolean variable

Description

This function checks whether the variable is boolean. If not, an error message is displayed.

Usage

check.boolean(x, name.var)

Arguments

x

The variable to be checked.

name.var

The name of the variable.

Value

Nothing is returned.


conroylau/lpinfer documentation built on Oct. 25, 2024, 4 a.m.