Skip to content
Prev 96539 / 398500 Next

Q. regarding optim()

On Fri, 21 Jul 2006, N. Goodacre wrote:
Dear R mailing group,
But it says `parameters'.  Please look at the examples on that help page.  
optim is concerned with optimizing functions of more than one parameter. 
In a statistical setting 'x' may be the data, but e.g. for fitting a gamma 
distribution c(scale, shape) are the parameters.