f_unwrap: Unwrap a formula

Description Usage Arguments Examples

Description

This interpolates values in the formula that are defined in its environment, replacing the environment with its parent.

Usage

1

Arguments

f

A formula to unwrap.

Examples

1
2
3
n <- 100
f <- ~ x + n
f_unwrap(f)

Example output

~x + 100
<environment: package:lazyeval>
attr(,"name")
[1] "package:lazyeval"
attr(,"path")
[1] "/usr/local/lib/R/site-library/lazyeval"

lazyeval documentation built on May 2, 2019, 2:11 a.m.