Displaying 1 result from an estimated 1 matches for "a6d09c".
Did you mean:
a6d0
2001 Oct 10
4
Weird feature when creating function lists with apply
Hi R-fellows,
can anyone explain this weird feature? I am trying to create a list of
functions with apply, and it appears that there is something strange going
on when the function evaluates the argument a. When I duplicate a into a
local variable b, the result changes !?!
Any pointers? Thank in advance. Cheers,
Uffe
# Create a function which returns a function
> f1 <- function(a)