View source: R/tmb_helper_funs.R
fix_pars | R Documentation |
TMB helper function this function returns a list of factors used in the map argument of the MakeADFun function
fix_pars(
par_list,
pars_to_exclude,
vec_pars_to_adjust = NULL,
vec_elements_to_exclude = NULL
)
par_list |
a named list that you give to the par argument in the MakeADFun |
pars_to_exclude |
a vector of strings with names of parmeters you want to FIX in the objective object. |
vec_pars_to_adjust |
a vector string of parameter labels that we want to exclude certain elements. |
vec_elements_to_exclude |
a list with number of elements = length(vec_pars_to_adjust). each list element contains a vector of elements that we want to exclude from estimation. |
a list of factors used in the MakeADFun function
C.Marsh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.