nlme (version 3.1-164)

getResponseFormula: Extract Formula Specifying Response Variable

Description

The left hand side of formula{object} is returned as a one-sided formula.

Usage

getResponseFormula(object)

Value

a one-sided formula with the response variable associated with

formula{object}.

Arguments

object

any object from which a formula can be extracted.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See Also

getResponse

Examples

Run this code
getResponseFormula(y ~ x | g)

Run the code above in your browser using DataLab