This function is similar to p_ic_fun, but it returns a list of parfns. 'p_ic_list' needs to be used like 'lapply(p_ic_list, function(p_ic) ...(g*x*p_ic))'. This allows to do optimization over more than one condition (e.g. replace the dots by 'obj').
1 | p_ic_list_fun(ic_list, pars, mixed = FALSE)
|
ic_list |
Named list of parameter values to be set. |
pars |
The original set of parameters to be replaced. |
mixed |
Should all combinations of the pars be gone through (TRUE) or should the other pars be set to their first value supplied, when scanning through a certain parameter? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.