Skip to contents

Create list of data for Stan simulation

Usage

createStanDataForSimulation(deck, utility, updating, temperature, pars, scale)

Arguments

utility

Name of utility function

updating

Name of updating function

temperature

Name of temperature function

pars

A named list of parameters. See details.

decks

Names list with entries "wins" and "losses"

Value

A list of data for stan

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.