Works as a sort of inverse to reformulate
by breaking apart the formula into response and the term labels.
It also returns the variable names of all of the variables
implicated in the formula.
unformulate(form, keep_env = FALSE)
A formula
Logical indicating whether the formula's environment should be returned with the result
A list with termlabels
giving the rhs terms of the
model, response
give the lhs of the model, env
optionally
giving the environment of the formula and vars
a vector of the
variable names implicated in the formula
A sort of inverse of the reformulate
function.