Re: [R] Q. regarding optim()

2006-07-21 Thread Prof Brian Ripley
On Fri, 21 Jul 2006, N. Goodacre wrote: Dear R mailing group, The second parameter for the function optim()is a function whose parameters are to be optimized. The description of this function given in the help file is the following: fn: A function to be minimized (or maximized),

[R] Q. regarding optim()

2006-07-20 Thread N. Goodacre
Dear R mailing group, The second parameter for the function optim()is a function whose parameters are to be optimized. The description of this function given in the help file is the following: fn: A function to be minimized (or maximized), with first argument the vector of