Skip to contents

Internal function. Verify that fitting parameters are correct, and correspond to implemented models.

Usage

verifyFittingBounds(utility, updating, temperature, pars = NULL)

Arguments

utility

Name of utility function

updating

Name of updating function

temperature

Name of temperature function

pars

A named list of parameters. See details.

Value

Generates an error message in the event of incorrect input. Otherwise, returns a copy of pars, possibly with missing bounds set to their defaults.

Details

Argument "pars" is a named list with fields:

  • "utility": A named list of parameter values. Names must correspond to the parameters of the utility function specified by argument "utility".

  • "updating": See above.

  • "temperature": See above.