The 'modifyList' function on package Utils allows to do that in a very compact
way:
do.call("optim", modifyList(list(), list(...)))
Regards,
Enrique
Mathieu Ribatet wrote:
> Dear all,
>
> I'd like tweaking the ... arguments that one user can pass in my
> function for fitting a model. More pr
Mathieu Ribatet wrote:
Dear all,
I'd like tweaking the ... arguments that one user can pass in my
function for fitting a model. More precisely, my objective function is
(really) problematic to optimize using the "optim" function.
Consequently, I'd like to add in the "control" argument of t
On 05/07/2008 1:55 PM, Mathieu Ribatet wrote:
Dear all,
I'd like tweaking the ... arguments that one user can pass in my
function for fitting a model. More precisely, my objective function is
(really) problematic to optimize using the "optim" function.
Consequently, I'd like to add in the
Dear all,
I'd like tweaking the ... arguments that one user can pass in my
function for fitting a model. More precisely, my objective function is
(really) problematic to optimize using the "optim" function.
Consequently, I'd like to add in the "control" argument of the latter
function a "n