Extract Formula Specifying Response Variable
Usage
getResponseFormula(object)
Arguments
object
|
any object from which a formula can be extracted.
|
Description
The left hand side of formula{object}
is returned as a
one-sided formula.Value
a one-sided formula with the response variable associated with
formula{object}
.Author(s)
Jose Pinheiro and Douglas BatesSee Also
getResponse
Examples
library(lme)
getResponseFormula(y ~ x | g)