Skip to content
Prev 15967 / 63433 Next

"wild" function example in optim

On Tue, 26 Apr 2005, Werner Bier wrote:

            
parscale is more important in cases with more than one parameter 
(and with one parameter you could set fnscale instead of parscale to get 
the same effect)

However, a sufficiently badly scaled one-d problem can still benefit from 
fnscale or parscale.
function(x) 1e-10*x^2
function(x) 2e-10*x
[1] 7
[1] 1.209735e-14
[1] 1.673141e-15

 	-thomas


 	-thomas