formula_to_function: Convert a formula to a function

Description Usage Arguments Details Value

Description

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

Usage

1

Arguments

form

formula

.env

environment of function

Details

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.

Value

function whose code is taken from the RHS of the given formula, with formal arguments of .x, .y, .z


coolbutuseless/anon documentation built on Jan. 13, 2020, 4:38 a.m.