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

Share:

Description

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

Usage

1
2
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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.