Re: [R] About the recursion in R
On 26/10/2010 5:17 PM, Xiuquan Wang wrote: Hi, I am now using R to implement a stepwise algrithom which includes a recursion function. e.g: a = 1 *f_recursion* = function(id) { b = a + id; #: row A if (...){ a = a +1;* f_recursion*(b) } #: row B
[R] About the recursion in R
Hi, I am now using R to implement a stepwise algrithom which includes a recursion function. e.g: a = 1 *f_recursion* = function(id) { b = a + id; #: row A if (...){ a = a +1;* f_recursion*(b) } #: row B else{ } } --