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 Nov. 15, 2023, 1:08 a.m.