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. 23, 2022, 9:21 a.m.