[R] uniroot() problem

megh megh700004 at yahoo.com
Wed Dec 31 06:56:21 CET 2008


I have a strange problem with uniroot() function. Here is the result :

> uniroot(th, c(-20, 20))
$root
[1] 4.216521e-05

$f.root
[1] 16.66423

$iter
[1] 27

$estim.prec
[1] 6.103516e-05

Pls forgive for not reproducing whole code, here my question is how "f.root"
can be 16.66423? As it is finding root of a function, it must be near Zero.
Am I missing something?

-- 
View this message in context: http://www.nabble.com/uniroot%28%29-problem-tp21227702p21227702.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list