Learn R Programming

ffstream (version 0.1.7.2)

getFiniteErrorMessage: Create the error message for a certain parameter that is not finite

Description

For a particular parameter, create an error message specifying that the parameter is not finite (i.e. not numeric and not NaN)

Usage

getFiniteErrorMessage(
  paramName,
  value = NULL,
  algoName = NULL,
  functionName = ""
)

Arguments

paramName

Name of parameter, e.g. lambda

value

The value of the non-finite parameter

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.