Extract Formula Specifying Response Variable
The left hand side of formula{object}
is returned as a one-sided formula.
getResponseFormula(object)
object
: any object from which a formula can be extracted.a one-sided formula with the response variable associated with formula{object}
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
getResponse
getResponseFormula(y ~ x | g)