Extract Response Variable from an Object
Usage
getResponse(object, form, data)
Arguments
object
|
any object
|
form
|
an optional two-sided formula. Defaults to
formula(object) .
|
data
|
a data frame in which to interpret the variables named in
form . Optional for most methods.
|
Description
This function is generic; method functions can be written to handle
specific classes of objects. Classes which already have methods for
this function include data.frame
, gls
, lme
,
and lmList
.Value
will depend on the method function used; see the appropriate documentation.Author(s)
Jose Pinheiro and Douglas BatesSee Also
getResponseFormula
Examples
## see the method function documentation