Displaying 1 result from an estimated 1 matches for "complexfn".
Did you mean:
complex
2008 Nov 12
3
any alternatives for complex for-loops?
Dear list,
Is there a way to do something like the following pseudo-code -
without for loop?
complexFn <- function(a,b){
...
return(c)
}
x[i] = complexFn(x[i-1], x[i-2])
I have found "filter" but would like to do something more complicated
than multiplication with x[i-1] and x[i-2].
Thanks in advance!
gabor