[R] problems with optimize (again)

2006-05-10 Thread tom wright
Can someone please explain what the $minimum result of the optimize function actually is? I'm trying to optimize the function: fitIT-function(ampFac,ts_wave1,ts_template){ template-stretchWaveTime(ts_template,ampFac) fit-calcFit(ts_wave1,template) return(fit) } with

Re: [R] problems with optimize (again)

2006-05-10 Thread Dimitris Rizopoulos
Subject: [R] problems with optimize (again) Can someone please explain what the $minimum result of the optimize function actually is? I'm trying to optimize the function: fitIT-function(ampFac,ts_wave1,ts_template){ template-stretchWaveTime(ts_template,ampFac) fit-calcFit(ts_wave1

Re: [R] problems with optimize (again)

2006-05-10 Thread Uwe Ligges
tom wright wrote: Can someone please explain what the $minimum result of the optimize function actually is? I'm trying to optimize the function: fitIT-function(ampFac,ts_wave1,ts_template){ template-stretchWaveTime(ts_template,ampFac) fit-calcFit(ts_wave1,template)