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) 

REQUIRED ARGUMENTS:

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

VALUE:

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

NOTE:

You can use the functions varWeights and coef to extract the weights and coefficients, respectively, from a varFunc variance function structure. For more details, see the links below for the generic functions varWeights and coef.varFunc.

SEE ALSO:

, ,

EXAMPLES:

vf1 <- varFunc(~age)