Displaying 1 result from an estimated 1 matches for "tp2322701p2322701".
2010 Aug 12
0
Error: evaluation nested too deeply
...[2]=sqrt((B*s[1]^2-2*C*s[1]+E)/B);
s
}
epsilon =0.0005
iter = function(W, s) {
s1 = em(W,s)
for (i in 1:2) {
if (abs(s[i]-s1[i]) > epsilon) {
s=s1
iter(W,s)
}
else s1
}
s1
}
iter(W,s)
--
View this message in context: http://r.789695.n4.nabble.com/Error-evaluation-nested-too-deeply-tp2322701p2322701.html
Sent from the R help mailing list archive at Nabble.com.