new_formula: Create a formula

View source: R/formula.R

new_formulaR Documentation

Create a formula

Description

Create a formula

Usage

new_formula(lhs, rhs, env = caller_env())

Arguments

lhs, rhs

A call, name, or atomic vector.

env

An environment.

Value

A formula object.

See Also

new_quosure()

Examples

new_formula(quote(a), quote(b))
new_formula(NULL, quote(b))

tidyverse/rlang documentation built on Oct. 31, 2024, 5:35 p.m.