p_ic_list_fun: Generate a list of parameter trafos.

Description Usage Arguments

Description

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').

Usage

1
p_ic_list_fun(ic_list, pars, mixed = FALSE)

Arguments

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?


dlill/MRAr documentation built on May 16, 2019, 7:24 a.m.