formulate {mlr3misc} | R Documentation |
Create Formulas
Description
Given the left-hand side and right-hand side as character vectors, generates a new
stats::formula()
.
Usage
formulate(lhs = character(), rhs = character(), env = NULL, quote = "right")
Arguments
lhs |
( |
rhs |
( |
env |
( |
quote |
( |
Value
Examples
formulate("Species", c("Sepal.Length", "Sepal.Width"))
formulate(rhs = c("Sepal.Length", "Sepal.Width"))
[Package mlr3misc version 0.15.1 Index]