File: f_list.Rd

package info (click to toggle)
r-cran-lazyeval 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 596 kB
  • sloc: ansic: 310; sh: 9; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formula.R
\name{f_list}
\alias{f_list}
\alias{as_f_list}
\title{Build a named list from the LHS of formulas}
\usage{
f_list(...)

as_f_list(x)
}
\arguments{
\item{...}{Named arguments.}

\item{x}{An existing list}
}
\value{
A named list.
}
\description{
\code{f_list} makes a new list; \code{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.
}
\examples{
f_list("y" ~ x)
f_list(a = "y" ~ a, ~ b, c = ~c)
}