check.numeric: Check function: numeric

View source: R/checks.R

check.numericR Documentation

Check function: numeric

Description

This function checks whether the class of the variable is numeric and has length 1. If not, an error message is displayed.

Usage

check.numeric(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.