simplify_fun {mosaicCalc} | 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 |