Re: [Rd] Editing the ... argument

2008-07-07 Thread SIES 73
The 'modifyList' function on package Utils allows to do that in a very compact way: do.call(optim, modifyList(list(your default values), 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

Re: [Rd] Editing the ... argument

2008-07-06 Thread J. R. M. Hosking
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 the

[Rd] Editing the ... argument

2008-07-05 Thread Mathieu Ribatet
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 ndeps

Re: [Rd] Editing the ... argument

2008-07-05 Thread Duncan Murdoch
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