Learn R Programming

seplyr (version 1.0.4)

transmute_nse: transmute non-standard evaluation interface.

Description

transmute a data frame by the transmuteterms from ....

Usage

transmute_nse(
  .data,
  ...,
  transmute_nse_env = parent.frame(),
  transmute_nse_warn = TRUE
)

Arguments

.data

data.frame

...

stringified expressions to transmute by.

transmute_nse_env

environment to work in.

transmute_nse_warn

logical, if TRUE warn about possible name collisions.

Value

.data with altered columns(other columns dropped).

See Also

transmute_se, transmute, transmute_at, :=

Examples

Run this code
# NOT RUN {
datasets::iris %.>%
  transmute_nse(., Sepal_Long := Sepal.Length >= 2 * Sepal.Width,
                   Petal_Short := Petal.Length <= 3.5) %.>%
  summary(.)

# }

Run the code above in your browser using DataLab