On Fri, 1 Dec 2000 Robert.King@mailbox.gu.edu.au wrote:> I don't want to re-invent the wheel, and I'm trying to code up something > that does a Nelder-Mead simplex method to minimise a non-linear objective > function. (I'm porting something I originally wrote in matlab, using the > optimisation toolbox funciton fmins). > > Is there already something available to do this included in R?Yes. help(optim). -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I don't want to re-invent the wheel, and I'm trying to code up something that does a Nelder-Mead simplex method to minimise a non-linear objective function. (I'm porting something I originally wrote in matlab, using the optimisation toolbox funciton fmins). Is there already something available to do this included in R? Do people have suggestions on the best way to do this? Thanks, Robert. ---- Robert King, Australian Environmental Studies, Griffith University, Australia Currently on Research leave (returning to Australia, end of January 2001) contact me by email Robert.King@mailbox.gu.edu.au http://www.ens.gu.edu.au/robertk/ linux: because a PC is a terrible thing to waste (ksh@cis.ufl.edu put this on Tshirts in '93) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 1 Dec 2000 Robert.King@mailbox.gu.edu.au wrote:> I don't want to re-invent the wheel, and I'm trying to code up something > that does a Nelder-Mead simplex method to minimise a non-linear objective > function. (I'm porting something I originally wrote in matlab, using the > optimisation toolbox funciton fmins). > > Is there already something available to do this included in R? > Do people have suggestions on the best way to do this?optim(method="Nelder-Mead") Now how did this not come up in a search: perhaps because of the way you spell optimization? I have> help.search("optimisation")No help files found with name or title matching `optimisation'> help.search("optimization")Help files with name or title matching `optimization': partition(multiv) Partitioning by Iterative Optimization lmeScale(nlme) Scale for lme Optimization portfolio.optim(tseries) Portfolio Optimization optim(base) General-purpose Optimization optimize(base) One Dimensional Optimization which shows we probably need to find a way to check variant spellings. (BTW: just in case anyone tells me the British spell with an `ise', the Oxford English Dictionary does not.) -- Brian D. Ripley, ripley@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-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> Luke Tierney writes:> Martin Maechler wrote: >> .... >> >> is an experimental prototype offered on an as-is basis. >> >> >> >> 4. Redistribution for profit requires the express, written permission >> >> of the authors. >> >> (which is from 1992 or so) >> and I vague remember having had difficulties contacting the authors... >> >> Anyone else knowing about developments with "agrep"> I believe it is now available as part of Glimpse, > http://webglimpse.org/I seem to recall that too. On my TODO list for 1.2.1 now, unless someone else feels like taking this up? -k -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._