Learn R Programming

wrapr (version 1.1.1)

qae: Quote assignment expressions.

Description

Accepts arbitrary un-parsed expressions as assignments to allow forms such as "Sepal_Long := Sepal.Length >= 2 * Sepal.Width". (without the quotes). Terms are expressions of the form "lhs := rhs".

Usage

qae(...)

Arguments

...

assignment expressions.

Value

array of quoted assignment expressions.

See Also

qc, qe

Examples

Run this code
# NOT RUN {
exprs <- qae(Sepal_Long := Sepal.Length >= ratio * Sepal.Width,
             Petal_Short := Petal.Length <= 3.5)
print(exprs)
#ratio <- 2
#datasets::iris %.>%
#  seplyr::mutate_se(., exprs) %.>%
#  summary(.)

# }

Run the code above in your browser using DataLab