newton.method is in package 'animation'. Thanks Ravi. BBSolve/BBOptim seems to work very well although I am not familiar with the optimization methods being used there. Is there a way to specify a tolerance in the function to get the required precision.
I did something like this to use newton method. require(animation) newton.method(f, init=2, tol=10*exp(-8)) But it gives bogus results. If someone could point me a correct working version of newton method for finding roots and its usage, that would be helpful. cheers, Sam -- View this message in context: http://r.789695.n4.nabble.com/newton-method-tp2306111p2306895.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.