makeFunction_se | R Documentation |
Build an anonymous function.
makeFunction_se(params, body, env = parent.frame())
params |
formal parameters of function, unbound names. |
body |
substituted body of function to map arguments into. |
env |
environment to work in. |
user defined function.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.