Skip to content
Prev 333519 / 398506 Next

Is there a way to optimize a function that has the dot-dot-dot (...) argument using optim()

Hello,

?optim has a dots argument, so just pass whatever you want after 'gr'. 
Something like the following.

optim(-3, foo, NULL, 1, 2)

Hope this helps,

Rui Barradas

Em 21-11-2013 22:05, Nan Wang escreveu: