| qae {wrapr} | R Documentation | 
Quote assignment expressions (name = expr, name := expr, name %:=% expr).
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", "lhs = rhs", "lhs %:=% rhs".
Usage
qae(...)
Arguments
| ... | assignment expressions. | 
Details
qae() uses
bquote() .() quasiquotation escaping notation,
and .(-) "string quotes, string to name" notation.
Value
array of quoted assignment expressions.
See Also
Examples
ratio <- 2
exprs <- qae(Sepal_Long := Sepal.Length >= ratio * Sepal.Width,
             Petal_Short = Petal.Length <= 3.5)
print(exprs)
exprs <- qae(Sepal_Long := Sepal.Length >= .(ratio) * Sepal.Width,
             Petal_Short = Petal.Length <= 3.5)
print(exprs)
# library("rqdatatable")
# datasets::iris %.>%
#  extend_se(., exprs) %.>%
#  summary(.)
[Package wrapr version 2.1.0 Index]