f_list

0th

Percentile

Build a named list from the LHS of formulas

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.

Aliases
  • as_f_list
  • f_list
Examples
f_list("y" ~ x)
f_list(a = "y" ~ a, ~ b, c = ~c)
Documentation reproduced from package rlang, version 0.0.0.9000, License: GPL-3

Community examples

Looks like there are no examples yet.