Message-ID: <x2r9soihfg.fsf@blueberry.kubism.ku.dk>
Date: 1999-01-21T18:56:03Z
From: Peter Dalgaard
Subject: nlm question
In-Reply-To: John Logsdon's message of Thu, 21 Jan 1999 17:09:51 +0000 (GMT)
John Logsdon <j.logsdon at lancaster.ac.uk> writes:
> Hello again
>
> Is there any way (or an alternative non-linear minimiser) that arguments
> to the function called in nlm can be passed in version 0.62.4? Like (I
> believe) nlmin in a well known other program or optimise in R. Do we use
> global variables? Shurely not!
>
> \John
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.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._