f_list: Build a named list from the LHS of formulas

Description Usage Arguments Value Examples

View source: R/formula.R

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

1
2
3

Arguments

...

Named arguments.

x

An existing list

Value

A named list.

Examples

1
2
f_list("y" ~ x)
f_list(a = "y" ~ a, ~ b, c = ~c)

lazyeval documentation built on May 29, 2017, 5:29 p.m.

Search within the lazyeval package
Search all R packages, documentation and source code