Accepts arbitrary un-parsed expressions as to allow forms such as "Sepal.Length >= 2 * Sepal.Width". (without the quotes).
qe(...)
assignment expressions.
array of quoted assignment expressions.
qe()
uses
bquote()
.()
quasiquotation escaping notation,
and .(-)
"string quotes, string to name" notation.
ratio <- 2
exprs <- qe(Sepal.Length >= ratio * Sepal.Width,
Petal.Length <= 3.5)
print(exprs)
#> [1] "Sepal.Length >= ratio * Sepal.Width" "Petal.Length <= 3.5"
exprs <- qe(Sepal.Length >= .(ratio) * Sepal.Width,
Petal.Length <= 3.5)
print(exprs)
#> [1] "Sepal.Length >= 2 * Sepal.Width" "Petal.Length <= 3.5"