Displaying 1 result from an estimated 1 matches for "a6dd60".
Did you mean:
4a6dad60
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)