This aims to be a dependency free, very simple formula-to-function convertor.

formula_to_1arg_function(form, .env = parent.frame())

Arguments

form

formula

.env

environment of function

Value

function

Details

The only supported argument is .x, all other variables are assumed to come from the environment.