transmute a data frame by the transmuteTerms. Accepts arbitrary text as transmuteTerms to allow forms such as "Sepal.Length >= 2 * Sepal.Width".

transmute_se(.data, transmuteTerms, env = parent.frame(), warn = TRUE)

Arguments

.data

data.frame

transmuteTerms

character vector of column expressions to transmute by.

env

environment to work in.

warn

logical, if TRUE warn about possible name collisions.

Value

.data transumuted by transmuteTerms.

See also

Examples

datasets::iris %.>% transmute_se(., qae(Sepal_Long := Sepal.Length >= 2 * Sepal.Width, Petal_Short := Petal.Length <= 3.5)) %.>% summary(.)
#> Sepal_Long Petal_Short #> Mode :logical Mode :logical #> FALSE:66 FALSE:95 #> TRUE :84 TRUE :55