Description Usage Arguments Details Value
This aims to be a dependency free, very simple formula-to-function convertor.
1 | formula_to_function(form, .env = parent.frame())
|
form |
formula |
.env |
environment of function |
The only supported arguments for the generated function are .x, .y, .z
.
A single period (.
) is an alias for .x
. All other variables are assumed to
come from the environment.
function whose code is taken from the RHS of the given formula, with
formal arguments of .x, .y, .z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.