formulate {mlr3misc} | R Documentation |
Given the left-hand side and right-hand side as character vectors, generates a new
stats::formula()
.
formulate(lhs = NULL, rhs = NULL, env = NULL)
lhs |
:: |
rhs |
:: |
env |
:: |
formulate("Species", c("Sepal.Length", "Sepal.Width")) formulate(rhs = c("Sepal.Length", "Sepal.Width"))