For a particular parameter, create an error message specifying that the parameter is outside its bounds.
getInBoundsErrorMessage(
paramName,
value = NULL,
lowerBound,
upperBound,
algoName = NULL,
strictly = FALSE,
functionName = ""
)
Name of parameter, e.g. lambda
The value of the non-finite parameter
Lower bound of range, e.g. 0
.
Upper bound of range, e.g. 1
.
Name of algorithm, e.g. AFF change detector
Use "[" or "(" strictly=FALSE
means "[" and
strictly=TRUE
means "("
The name of the original function which is being
called to check the parameters. Will help user
with debugging. Default is ""
, in which
case no function name will be displayed.