powered by
Build an anonymous function.
makeFunction_se(params, body, env = parent.frame())
user defined function.
formal parameters of function, unbound names.
substituted body of function to map arguments into.
environment to work in.
lambda, defineLambda, named_map_builder
lambda
defineLambda
named_map_builder
f <- makeFunction_se(as.name('x'), substitute({x*x})) f(7) g <- makeFunction_se(c(as.name('x'), as.name('y')), substitute({ x + 3*y })) g(1,100)
Run the code above in your browser using DataLab