infer_RHS
turns a one-sided formula into a two-sided formula suitable for makeFun()
.
formals_from_expression
creates a "formals" list for creating a function.
The list will have arguments in the canonical order.
infer_RHS(ex)formals_from_expr(ex, others = character(0))
An expression as in quote(x^2)
or the left side of a tilde expression.
Character string(s) with names of additional arguments to be included in the formals