[R] output in optim
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Fri May 12 11:21:35 CEST 2000
On Fri, 12 May 2000, Brigitta Voss wrote:
> I would like to use 'optim' with method="L-BFGS-B".
> But I could not figure out, how to get the function value after any
> iteration, like You get them using method="BFGS"?
You mean as debugging trace? That is set up differently for each of the
optimization methods, and not available for L-BFGS-B.
The best idea is to make your function print out the value each time it
is called.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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