Covariate.varFunc | R Documentation |
The covariate(s) used in the calculation of the weights of the
variance function represented by object
is (are) replaced by
value
. If object
has been initialized, value
must
have the same dimensions as getCovariate(object)
.
## S3 replacement method for class 'varFunc'
covariate(object) <- value
object |
an object inheriting from class |
value |
a value to be assigned to the covariate associated with
|
a varFunc
object similar to object
, but with its
covariate
attribute replaced by value
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
getCovariate.varFunc
vf1 <- varPower(1.1, form = ~age)
covariate(vf1) <- Orthodont[["age"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.