Displaying 2 results from an estimated 2 matches for "nurza".
Did you mean:
lurza
2006 Jul 30
0
re 11. uniroot and function opposite signs warning
Nurza,
Try running a while loop steping out until you have a start and finish
thats the function is opposite in sign. You need a "start" and "finish"
where F is + and - on either side of the loop. Graphing F might help.
step<-10
checkme<-F(start)*F(finish+step)
while(checkme...
2006 Jul 29
1
uniroot
Hello,
I am struggling to find the root of a exponent
function.
"uniroot" is complaining about a values at end points
not of opposite sign?
s<- sapply(1:length(w),function(i)
+ {
+
+ +
+
+
uniroot(saeqn,lower=-5000,upper=0.01036597923,l=list(t=w[i],gp=gp))$root
+ })
Error in uniroot(saeqn, lower = -5000, upper =
0.01036597923, l = list(t = w[i], :
f() values at