[R] nlm question

Douglas Bates bates at stat.wisc.edu
Thu Jan 21 19:53:03 CET 1999


>>>>> "John" == John Logsdon <j.logsdon at lancaster.ac.uk> writes:

  John> Hello again Is there any way (or an alternative non-linear
  John> minimiser) that arguments to the function called in nlm can be
  John> passed in version 0.62.4?  Like (I believe) nlmin in a well
  John> known other program or optimise in R.  Do we use global
  John> variables?  Surely not!

I think the preferred answer is to use function closures.  See demo(scoping).
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list