getIsAboveErrorMessage: Create the error message for a certain parameter not above a...

View source: R/errorMessage.R

getIsAboveErrorMessageR Documentation

Create the error message for a certain parameter not above a threshold

Description

For a particular parameter, create an error message specifying that the parameter is not above a minimum threshold

Usage

getIsAboveErrorMessage(
  paramName,
  value = NULL,
  lowerBound,
  algoName = NULL,
  functionName = ""
)

Arguments

paramName

Name of parameter, e.g. lambda

value

The value of the non-finite parameter

lowerBound

Lower bound of range, e.g. 0.

algoName

Name of algorithm, e.g. AFF change detector

functionName

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.


ffstream documentation built on May 31, 2023, 7:53 p.m.