R/utils.R
rightside.Rd
Extract the right-hand side of a formula
rightside(x)
(formula) A two-sided formula, e.g., y ~ x1 + x2.
formula
y ~ x1 + x2
(character(1)) The right-hand side of the formula.
character(1)
rightside(y ~ x1 + x2) #> [1] "x1 + x2"