Skip to content
Prev 1913 / 398506 Next

nlm question

John Logsdon <j.logsdon at lancaster.ac.uk> writes:
At the end of the Description for nlm we have:

        This is a preliminary version of this function and it
        will probably change.

..which is probably the point. Adding ... arguments should be pretty
obvious (unless the names clash with any of all the *other* args!)
after a peek at the way it is done in optimize: Just replace f in

    .Internal(nlm(f, p, .....

with function(p)f(p,...)

I can't see why it shouldn't work here as well.