Displaying 1 result from an estimated 1 matches for "jholt".
Did you mean:
holt
2010 Mar 04
3
Is it possible to recursively update a function?
Here is the test code.
foo<-function(x) exp(-x)
for (i in 1:5)
{
foo<-function(x) foo(x)*x
foo(2)
}
The error is "evalution nested too deeply". I tried Recall() but it
didn't work either. Thanks a lot for your input.