Re: [R] Nelder-Mead with output of simplex vertices

2009-10-13 Thread bartjoosen
Hi, Is it possible to share the code on this list? I'm also interested (and maybe others to) Or are you planning to make a package? Best regards Bart Ted.Harding-2 wrote: > > On 12-Oct-09 13:33:17, Ted Harding wrote: >> On 12-Oct-09 13:24:01, Terry Therneau wrote: >>> -- begin inclu

Re: [R] Nelder-Mead with output of simplex vertices

2009-10-13 Thread Ben Bolker
bartjoosen wrote: > > Hi, > > Is it possible to share the code on this list? > I'm also interested (and maybe others to) > Or are you planning to make a package? > > Best regards > > Bart > > > > Ted.Harding-2 wrote: >> >> On 12-Oct-09 13:33:17, Ted Harding wrote: >>> On 12-Oct-09 13:24:0

Re: [R] Nelder-Mead with output of simplex vertices

2009-10-12 Thread Ted Harding
On 12-Oct-09 13:33:17, Ted Harding wrote: > On 12-Oct-09 13:24:01, Terry Therneau wrote: >> -- begin included >> Greetings! >> I want to follow the evolution of a Nelder-Mead function >> minimisation (a function of 2 variables). Hence each simplex >> will have 3 vertices. >> >> Th

Re: [R] Nelder-Mead with output of simplex vertices

2009-10-12 Thread Ted Harding
On 12-Oct-09 13:24:01, Terry Therneau wrote: > -- begin included > Greetings! > I want to follow the evolution of a Nelder-Mead function > minimisation (a function of 2 variables). Hence each simplex > will have 3 vertices. > > Therefore I would like to have a function which can o

Re: [R] Nelder-Mead with output of simplex vertices

2009-10-12 Thread Terry Therneau
-- begin included Greetings! I want to follow the evolution of a Nelder-Mead function minimisation (a function of 2 variables). Hence each simplex will have 3 vertices. Therefore I would like to have a function which can output the coordinates of the 3 vertices after each new simp

Re: [R] Nelder-Mead with output of simplex vertices

2009-10-10 Thread Ravi Varadhan
dhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu - Original Message - From: Ben Bolker Date: Saturday, October 10, 2009 7:23 pm Subject: Re: [R] Nelder-Mead with output

Re: [R] Nelder-Mead with output of simplex vertices

2009-10-10 Thread Ben Bolker
I have a pure-R implementation of the N-M simplex translated from the C code in Press et al 1994 (Numerical Recipes), instrumented to save the progress. Since I'm not sure of the copyright status (NR's code does not allow redistribution, but this is a translation ...) I'll send it in separate

[R] Nelder-Mead with output of simplex vertices

2009-10-10 Thread Ted Harding
Greetings! I want to follow the evolution of a Nelder-Mead function minimisation (a function of 2 variables). Hence each simplex will have 3 vertices. Therefore I would like to have a function which can output the coordinates of the 3 vertices after each new simplex is generated. However, there se