Skip to content
Prev 333243 / 398506 Next

optimization

There are lots of errors in your code. In particular, the optimization
routines do not like functions that ignore the parameters.

And you have not provided out or out1 to the optimizer -- they are
returned as elements of func(), but not correctly.

Please try some of the examples for optim or optimx to learn how to
structure your problem.

JN
On 13-11-16 06:00 AM, r-help-request at r-project.org wrote: