Skip to contents

Get a default parameter mapping. Parameter mapping is used by MakeADFun to turn parameters on/off during optimization.

Usage

get_map(parameters)

Arguments

parameters

A named list containing the initial parameter values to be passed to MakeADFun.

Value

A named list of factor vectors specifying which parameters are fixed (mapped to NA) or estimated. Parameters mapped to NA are held constant during optimization.