checkBounded: checkBounded

View source: R/validator.R

checkBoundedR Documentation

checkBounded

Description

Checks whether x is defined and lies within the specified bound, stop otherwise.

Usage

checkBounded(x, message = NULL, bound = c(0, 1), inclusive = FALSE)

Arguments

x

x

message

identifier for x

bound

the boundaries, array of size two

inclusive

whether x might lie on boundary


semPower documentation built on Sept. 30, 2024, 9:24 a.m.