getCovariate.varFunc
Extract varFunc Covariate
Description
This method function extracts the covariate(s) associated with the variance function represented by object
, if any is present.
Usage
## S3 method for class 'varFunc' getCovariate(object, form, data)
Arguments
object | an object inheriting from class |
form | an optional formula specifying the covariate to be evaluated in |
data | some methods for this generic require a |
Value
if object
has a covariate
attribute, its value is returned; else NULL
is returned.
Author(s)
José Pinheiro and Douglas Bates [email protected]
See Also
Examples
vf1 <- varPower(1.1, form = ~age) covariate(vf1) <- Orthodont[["age"]] getCovariate(vf1)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.