lazyeval (version 0.2.0)

f_list: Build a named list from the LHS of formulas

Description

f_list makes a new list; as_f_list takes an existing list. Both take the LHS of any two-sided formulas and evaluate it, replacing the current name with the result.

Usage

f_list(...)

as_f_list(x)

Arguments

...

Named arguments.

x

An existing list

Value

A named list.

Examples

Run this code
# NOT RUN {
f_list("y" ~ x)
f_list(a = "y" ~ a, ~ b, c = ~c)
# }

Run the code above in your browser using DataCamp Workspace