simplify_fun | R Documentation |
Turn a 1-line function into an inline formula
simplify_fun(fun)
inline_expr(ex, old, new, env)
replace_arg_in_expr(ex, old, new)
fun |
a function, such as produced by |
ex |
an expression |
old |
the name to be replaced as produced by as.name() |
new |
the name to be substituted in for arg_name |
env |
the environment for the expression |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.