Learn R Programming

nlme (version 3.1-166)

varFunc: Variance Function Structure

Description

If object is a one-sided formula, it is used as the argument to varFixed and the resulting object is returned. Else, if object inherits from class varFunc, it is returned unchanged.

Usage

varFunc(object)

Value

an object from class varFunc, representing a variance function structure.

Arguments

object

either an one-sided formula specifying a variance covariate, or an object inheriting from class varFunc, representing a variance function structure.

Author

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

See Also

summary.varFunc, varFixed, varWeights.varFunc, coef.varFunc

Examples

Run this code
vf1 <- varFunc(~age)

Run the code above in your browser using DataLab